# from nose.tools import set_trace; set_trace()
assert pi.type[0] == u"Image"
- assert pi.mime_type == u'image/png' == wlp.mime_type
+ assert pi.mime_type == u'image/jpeg' == wlp.mime_type
assert wlp.slug == 'angelus-novus'
assert path.exists(wlp.image_path)
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']: