From 22f9e2afd2c1c82a804c183cbce4e6d0a00d829e Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 12 Aug 2011 18:14:18 +0200 Subject: [PATCH] test fix --- apps/catalogue/tests/bookmedia.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') -- 2.20.1