From: Radek Czajka Date: Fri, 12 Aug 2011 16:14:18 +0000 (+0200) Subject: test fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/22f9e2afd2c1c82a804c183cbce4e6d0a00d829e?hp=afddfc678f3ec8bbb39ae6a7d4ccbc4d2007416f test fix --- 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')