X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/97ed31c1ea6c21e0ac6cad0bc25a3cf63ecdd1ad..55e8586118a522d262a7b337ccf8a83cfb458054:/tests/test_picture.py?ds=sidebyside 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']: