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
motifs = set()
names = set()
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
motifs = set()
names = set()