diff --git a/tests/test_gallery.py b/tests/test_gallery.py index e33e017..cf6978c 100644 --- a/tests/test_gallery.py +++ b/tests/test_gallery.py @@ -94,7 +94,9 @@ def test_media(settings): assert m.thumb_name == thumb assert m.thumb_path == join(settings["destination"], path, thumb) assert m.title == "Foo Bar" - assert m.description == "
This is a funny description of this image
" + assert m.description.startswith( + "This is a funny description of this image
" + ) assert repr(m) == f"This is a funny description of this image
" + assert m.description.startswith( + "This is a funny description of this image
" + ) file_path = join(path, "11.tiff") assert repr(m) == f"This is a funny description of this image
" + assert m["description"].startswith( + "This is a funny description of this image
" + ) def test_read_markdown_empty_file(tmpdir):