fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing constraint.
[wolnelektury.git]
/
src
/
catalogue
/
tests
/
test_visit.py
diff --git
a/src/catalogue/tests/test_visit.py
b/src/catalogue/tests/test_visit.py
index
29011fa
..
83d5e0b
100644
(file)
--- a/
src/catalogue/tests/test_visit.py
+++ b/
src/catalogue/tests/test_visit.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.
#
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
@@
-14,7
+13,7
@@
class VisitTest(WLTestCase):
WLTestCase.setUp(self)
author = PersonStub(("Jane",), "Doe")
book_info = BookInfoStub(author=author, genre="Sielanka",
WLTestCase.setUp(self)
author = PersonStub(("Jane",), "Doe")
book_info = BookInfoStub(author=author, genre="Sielanka",
- epoch='Epoch', kind="Kind", **info_args(
u
"A book"))
+ epoch='Epoch', kind="Kind", **info_args("A book"))
self.book = models.Book.from_text_and_meta(ContentFile('''
<utwor>
<opowiadanie>
self.book = models.Book.from_text_and_meta(ContentFile('''
<utwor>
<opowiadanie>