X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/afddfc678f3ec8bbb39ae6a7d4ccbc4d2007416f..0098b333f963f74628c4fb0768b6dd56d9c6a07b:/apps/catalogue/tests/bookmedia.py?ds=inline diff --git a/apps/catalogue/tests/bookmedia.py b/apps/catalogue/tests/bookmedia.py index 0578ecd61..9ddd6aaa0 100644 --- a/apps/catalogue/tests/bookmedia.py +++ b/apps/catalogue/tests/bookmedia.py @@ -47,10 +47,10 @@ class BookMediaTests(WLTestCase): """ bm = models.BookMedia(book=self.book, type='ogg', - name="Tytul") + name=u"Tytul") bm.file.save(None, self.file) bm2 = models.BookMedia(book=self.book, type='ogg', - name="Tytuł") + name=u"Tytuł") bm2.file.save(None, self.file2) self.assertEqual(basename(bm.file.name), 'tytul.ogg') self.assertNotEqual(basename(bm2.file.name), 'tytul.ogg')