X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4298f7948e8963176debf5877fce30c49ae4e3ad..ddf2102eff7ea420a4ea5144c43409587fc1156e:/src/catalogue/tests/test_templatetags.py diff --git a/src/catalogue/tests/test_templatetags.py b/src/catalogue/tests/test_templatetags.py index c69472fac..a53897692 100644 --- a/src/catalogue/tests/test_templatetags.py +++ b/src/catalogue/tests/test_templatetags.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,10 +15,10 @@ class BookDescTests(WLTestCase): authors = PersonStub(("Common",), "Man"), PersonStub(("Jane",), "Doe") child_info = BookInfoStub(authors=authors, genre="Genre", epoch='Epoch', kind="Kind", - **info_args(u"Child")) + **info_args("Child")) parent_info = BookInfoStub(authors=authors, genre="Genre", epoch='Epoch', kind="Kind", parts=[child_info.url], - **info_args(u"Parent")) + **info_args("Parent")) self.child = models.Book.from_text_and_meta(ContentFile(''), child_info) models.Book.from_text_and_meta(ContentFile(''), parent_info)