X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/97ed31c1ea6c21e0ac6cad0bc25a3cf63ecdd1ad..a442f4e3ed6f846736e787876cf4cb06db5cd29b:/tests/test_picture.py diff --git a/tests/test_picture.py b/tests/test_picture.py index 35f2cf9..71a77dc 100644 --- a/tests/test_picture.py +++ b/tests/test_picture.py @@ -45,9 +45,10 @@ def test_picture_parts(): assert len(parts) == 5, "there should be %d parts of the picture" % 5 motifs = set() names = set() - + + print parts for p in parts: - for m in p['motifs']: + for m in p['themes']: motifs.add(m) for p in parts: if p['object']: