X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d54976be7b44bd0c8c3c2afac8f11b2408e6cb14..ccf1868db403f603a87db2194a8ced22a05766f1:/apps/picture/tests/picture_import.py?ds=sidebyside diff --git a/apps/picture/tests/picture_import.py b/apps/picture/tests/picture_import.py index 1b01d334c..1e17289c3 100644 --- a/apps/picture/tests/picture_import.py +++ b/apps/picture/tests/picture_import.py @@ -18,10 +18,10 @@ class PictureTest(WLTestCase): for area in picture.areas.all(): themes.update([(tag.category, tag.name) for tag in area.tags if tag.category in (u'theme', u'thing')]) - assert themes == set([(u'theme', u'nieporządek'), (u'thing', u'kosmos')]), \ + assert themes == set([(u'theme', u'nieporządek'), (u'thing', u'Kosmos')]), \ 'Bad themes on Picture areas: %s' % themes - pic_themes = set([tag.name for tag in picture.tags if tag.category in ('theme', 'object')]) + pic_themes = set([tag.name for tag in picture.tags if tag.category in ('theme', 'thing')]) assert not pic_themes, 'Unwanted themes set on Pictures: %s' % pic_themes picture.delete()