X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/cba76114f031d47c93e1af947a350230cbef0a1f..ff2a09e9ecd8e9bede2d3572942bcd32f66f6198:/tests/test_picture.py?ds=inline diff --git a/tests/test_picture.py b/tests/test_picture.py index f64f624..1169f44 100644 --- a/tests/test_picture.py +++ b/tests/test_picture.py @@ -42,7 +42,8 @@ def test_wlpicture(): def test_picture_parts(): wlp = picture.WLPicture.from_file(open(get_fixture('picture', 'angelus-novus.xml'))) parts = list(wlp.partiter()) - assert len(parts) == 5, "there should be %d parts of the picture" % 5 + expect_parts = 4 + assert len(parts) == expect_parts, "there should be %d parts of the picture" % expect_parts motifs = set() names = set()