diff --git a/tests/files/Plain With Spaces And Uppercase 123.jpg b/samples/Plain With Spaces And Uppercase 123.jpg similarity index 100% rename from tests/files/Plain With Spaces And Uppercase 123.jpg rename to samples/Plain With Spaces And Uppercase 123.jpg diff --git a/tests/files/audio.m4a b/samples/audio.m4a similarity index 100% rename from tests/files/audio.m4a rename to samples/audio.m4a diff --git a/tests/files/imghdr-error.jpg b/samples/imghdr-error.jpg similarity index 100% rename from tests/files/imghdr-error.jpg rename to samples/imghdr-error.jpg diff --git a/tests/files/invalid.invalid b/samples/invalid.invalid similarity index 100% rename from tests/files/invalid.invalid rename to samples/invalid.invalid diff --git a/tests/files/invalid.jpg b/samples/invalid.jpg similarity index 100% rename from tests/files/invalid.jpg rename to samples/invalid.jpg diff --git a/tests/files/no-exif.jpg b/samples/no-exif.jpg similarity index 100% rename from tests/files/no-exif.jpg rename to samples/no-exif.jpg diff --git a/tests/files/photo.cr2 b/samples/photo.cr2 similarity index 100% rename from tests/files/photo.cr2 rename to samples/photo.cr2 diff --git a/tests/files/photo.heic b/samples/photo.heic similarity index 100% rename from tests/files/photo.heic rename to samples/photo.heic diff --git a/tests/files/photo.png b/samples/photo.png similarity index 100% rename from tests/files/photo.png rename to samples/photo.png diff --git a/tests/files/plain.jpg b/samples/plain.jpg similarity index 100% rename from tests/files/plain.jpg rename to samples/plain.jpg diff --git a/tests/files/plugins/googlephotos/auth_file.json b/samples/plugins/googlephotos/auth_file.json similarity index 100% rename from tests/files/plugins/googlephotos/auth_file.json rename to samples/plugins/googlephotos/auth_file.json diff --git a/tests/files/plugins/googlephotos/secrets_file.json b/samples/plugins/googlephotos/secrets_file.json similarity index 100% rename from tests/files/plugins/googlephotos/secrets_file.json rename to samples/plugins/googlephotos/secrets_file.json diff --git a/tests/files/text.txt b/samples/text.txt similarity index 100% rename from tests/files/text.txt rename to samples/text.txt diff --git a/tests/files/video.mov b/samples/video.mov similarity index 100% rename from tests/files/video.mov rename to samples/video.mov diff --git a/tests/files/with-album-and-title-and-location.jpg b/samples/with-album-and-title-and-location.jpg similarity index 100% rename from tests/files/with-album-and-title-and-location.jpg rename to samples/with-album-and-title-and-location.jpg diff --git a/tests/files/with-album-and-title.jpg b/samples/with-album-and-title.jpg similarity index 100% rename from tests/files/with-album-and-title.jpg rename to samples/with-album-and-title.jpg diff --git a/tests/files/with-album.jpg b/samples/with-album.jpg similarity index 100% rename from tests/files/with-album.jpg rename to samples/with-album.jpg diff --git a/tests/files/with-filename-and-title-in-exif.jpg b/samples/with-filename-and-title-in-exif.jpg similarity index 100% rename from tests/files/with-filename-and-title-in-exif.jpg rename to samples/with-filename-and-title-in-exif.jpg diff --git a/tests/files/with-filename-in-exif.jpg b/samples/with-filename-in-exif.jpg similarity index 100% rename from tests/files/with-filename-in-exif.jpg rename to samples/with-filename-in-exif.jpg diff --git a/tests/files/with-location-and-title.jpg b/samples/with-location-and-title.jpg similarity index 100% rename from tests/files/with-location-and-title.jpg rename to samples/with-location-and-title.jpg diff --git a/tests/files/with-location-inv.jpg b/samples/with-location-inv.jpg similarity index 100% rename from tests/files/with-location-inv.jpg rename to samples/with-location-inv.jpg diff --git a/tests/files/with-location-zero-coordinate.jpg b/samples/with-location-zero-coordinate.jpg similarity index 100% rename from tests/files/with-location-zero-coordinate.jpg rename to samples/with-location-zero-coordinate.jpg diff --git a/tests/files/with-location.jpg b/samples/with-location.jpg similarity index 100% rename from tests/files/with-location.jpg rename to samples/with-location.jpg diff --git a/tests/files/with-null-coordinates.jpg b/samples/with-null-coordinates.jpg similarity index 100% rename from tests/files/with-null-coordinates.jpg rename to samples/with-null-coordinates.jpg diff --git a/tests/files/with-original-name.jpg b/samples/with-original-name.jpg similarity index 100% rename from tests/files/with-original-name.jpg rename to samples/with-original-name.jpg diff --git a/tests/files/with-title.jpg b/samples/with-title.jpg similarity index 100% rename from tests/files/with-title.jpg rename to samples/with-title.jpg diff --git a/tests/files/withoutextension b/samples/withoutextension similarity index 100% rename from tests/files/withoutextension rename to samples/withoutextension diff --git a/tests/helper.py b/tests/helper.py index 91d787a..ac01303 100644 --- a/tests/helper.py +++ b/tests/helper.py @@ -50,8 +50,7 @@ def get_file(name): return file_path def get_file_path(name): - current_folder = os.path.dirname(os.path.realpath(__file__)) - return os.path.join(current_folder, 'files', name) + return os.path.join(ELODIE_PATH, 'samples', name) def get_test_location(): return (61.013710, 99.196656, 'Siberia')