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