diff --git a/tests/test_route.py b/tests/test_route.py index fcb935e6..9ca7adee 100644 --- a/tests/test_route.py +++ b/tests/test_route.py @@ -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