From 0094d734afb0d5d35ab2c65852d6145f5d568b5e Mon Sep 17 00:00:00 2001 From: Ezeudoh Tochukwu Date: Sun, 28 Jan 2024 07:04:40 +0100 Subject: [PATCH] fixed setup pytest deprecated error --- tests/test_route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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