diff --git a/tests/sample/pictures/dir1/test2/CMB_Timeline300_no_WMAP.md b/tests/sample/pictures/dir1/test2/CMB_Timeline300_no_WMAP.md new file mode 100644 index 0000000..88db3c4 --- /dev/null +++ b/tests/sample/pictures/dir1/test2/CMB_Timeline300_no_WMAP.md @@ -0,0 +1,2 @@ +Order: 03 + diff --git a/tests/test_gallery.py b/tests/test_gallery.py index da5640e..6e1a663 100644 --- a/tests/test_gallery.py +++ b/tests/test_gallery.py @@ -252,7 +252,7 @@ def test_medias_sort(settings): a = Album('dir1/test2', settings, album['subdirs'], album['medias'], gal) a.sort_medias(settings['medias_sort_attr']) assert [im.dst_filename for im in a.images] == [ - 'CMB_Timeline300_no_WMAP.jpg', '21.tiff', '22.jpg'] + '21.tiff', '22.jpg', 'CMB_Timeline300_no_WMAP.jpg'] def test_gallery(settings, tmpdir):