X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..265d73dffcdea6560f38087eac0219777084c181:/src/dictionary/tests.py?ds=sidebyside

diff --git a/src/dictionary/tests.py b/src/dictionary/tests.py
old mode 100755
new mode 100644
index 57af9d759..0b5924bb0
--- a/src/dictionary/tests.py
+++ b/src/dictionary/tests.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
 #
@@ -16,11 +15,11 @@ class DictionaryTests(WLTestCase):
             kind="X-Kind",
             genre="X-Genre",
             epoch="X-Epoch",
-            **info_args(u"Default Book")
+            **info_args("Default Book")
         )
 
     def test_book_with_footnote(self):
-        book_text = """<utwor>
+        book_text = b"""<utwor>
         <opowiadanie>
             <akap><pe><slowo_obce>rose</slowo_obce> --- kind of a flower.</pe></akap>
             <akap><pe><slowo_obce>rose</slowo_obce> --- kind of a flower.</pe></akap>