From b4232dc30f819001bdb6768eb5b31f6a2c3fa133 Mon Sep 17 00:00:00 2001 From: Maxim Zhiltsov Date: Sat, 5 Oct 2024 02:08:56 +0300 Subject: [PATCH] Fix pytest error --- tests/python/rest_api/test_quality_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/rest_api/test_quality_control.py b/tests/python/rest_api/test_quality_control.py index edbbf3aed3a..a0199b817cb 100644 --- a/tests/python/rest_api/test_quality_control.py +++ b/tests/python/rest_api/test_quality_control.py @@ -82,7 +82,7 @@ def create_gt_job(self, user, task_id): @pytest.fixture(scope="class") @classmethod - def find_sandbox_task(self, tasks, jobs, users, is_task_staff): + def find_sandbox_task(cls, tasks, jobs, users, is_task_staff): def _find( is_staff: bool, *, has_gt_jobs: Optional[bool] = None ) -> Tuple[Dict[str, Any], Dict[str, Any]]: