X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..7bbeecb5dd5c5f20120f9e40e41568a3bff1caa4:/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..45ca0cc9c --- a/src/dictionary/tests.py +++ b/src/dictionary/tests.py @@ -1,6 +1,5 @@ -# -*- 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. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django.core.files.base import ContentFile from catalogue.test_utils import * @@ -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 = """ + book_text = b""" rose --- kind of a flower. rose --- kind of a flower.