X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/97ed31c1ea6c21e0ac6cad0bc25a3cf63ecdd1ad..6795396c107ee145c80d0dc24f197ecc3ba25b30:/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']: