diff --git a/backend/api/tests/api/data/images/1500x500.jpeg b/backend/api/tests/api/data/images/1500x500.jpeg deleted file mode 100644 index bbada87e..00000000 Binary files a/backend/api/tests/api/data/images/1500x500.jpeg and /dev/null differ diff --git a/backend/api/tests/api/utils.py b/backend/api/tests/api/utils.py index 6c6b3f19..950e11a0 100644 --- a/backend/api/tests/api/utils.py +++ b/backend/api/tests/api/utils.py @@ -142,19 +142,6 @@ def prepare_project(task: str = 'Any', collaborative_annotation=False, **kwargs) ) -class TestUtilsMixin: - def _patch_project(self, project, attribute, value): - old_value = getattr(project, attribute, None) - setattr(project, attribute, value) - project.save() - - def cleanup_project(): - setattr(project, attribute, old_value) - project.save() - - self.addCleanup(cleanup_project) - - class CRUDMixin(APITestCase): url = '' data = {}