Skip to content

Commit 9bddbd8

Browse files
committed
🔍 Adding sort
Because, apparently the system in GH CI grabs these differently than my system.
1 parent 12e9684 commit 9bddbd8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: photostats/tests/test_get_exif.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@ def test_scan_test():
3636
photos = []
3737
for file in scan_tree:
3838
photos.append(file.path)
39-
assert photos == file_paths
39+
assert photos.sort() == file_paths.sort()
4040

4141

4242
def test_get_photos():
4343
photo_list = get_exif.get_photos(test_directory)
44-
print(photo_list)
45-
assert photo_list == file_paths
44+
assert photo_list.sort() == file_paths.sort()
4645

4746

4847
def test_get_exif():

0 commit comments

Comments
 (0)