Skip to content

Commit

Permalink
fixed setup pytest deprecated error
Browse files Browse the repository at this point in the history
  • Loading branch information
eadwinCode committed Jan 28, 2024
1 parent 2b2e834 commit 0094d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def test_process_view_function_result_return_tuple_or_input(self):

@pytest.mark.django_db
class TestAPIControllerRoutePermission:
def setup(self):
def setup_method(self):
self.controller = PermissionController()

@classmethod
Expand Down

0 comments on commit 0094d73

Please sign in to comment.