diff --git a/tests/test_backoffice_pages.py b/tests/backoffice_pages/test_all.py similarity index 99% rename from tests/test_backoffice_pages.py rename to tests/backoffice_pages/test_all.py index f47c7f694..f7a1d06b8 100644 --- a/tests/test_backoffice_pages.py +++ b/tests/backoffice_pages/test_all.py @@ -636,7 +636,7 @@ def test_backoffice_image_column(pub): formdef.store() upload = PicklableUpload('test.jpeg', 'image/jpeg') - jpg = open(os.path.join(os.path.dirname(__file__), 'image-with-gps-data.jpeg'), 'rb').read() + jpg = open(os.path.join(os.path.dirname(__file__), '..', 'image-with-gps-data.jpeg'), 'rb').read() upload.receive([jpg]) for formdata in formdef.data_class().select(lambda x: x.status == 'wf-new'): formdata.data['4'] = upload