X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/afddfc678f3ec8bbb39ae6a7d4ccbc4d2007416f..fe74eeefc385fbce6cb6c63a53a208da74ea3e45:/apps/catalogue/tests/bookmedia.py 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')