diff --git a/backend/api/tests/test_file_structure.py b/backend/api/tests/test_file_structure.py index 7b947301..be463dee 100644 --- a/backend/api/tests/test_file_structure.py +++ b/backend/api/tests/test_file_structure.py @@ -37,7 +37,7 @@ def test_parsing(self): ) memory_file = SimpleUploadedFile("zip_struct1.zip", open( - f"{settings.MEDIA_ROOT}/structures/zip_struct1.zip", "rb").read(), content_type='application/zip') + f"data/{settings.MEDIA_ROOT}/structures/zip_struct1.zip", "rb").read(), content_type='application/zip') parse_zip(project=project, zip_file=memory_file)