X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/070d93a055b8dfd594664db308b310785d59af70..a89df185c654948f1c146972270aaccf2d982d38:/apps/dictionary/tests.py diff --git a/apps/dictionary/tests.py b/apps/dictionary/tests.py index 89d2ab9fb..e88fe507d 100755 --- a/apps/dictionary/tests.py +++ b/apps/dictionary/tests.py @@ -5,7 +5,6 @@ from django.core.files.base import ContentFile from catalogue.test_utils import * from catalogue.models import Book -from dictionary.models import Note class DictionaryTests(WLTestCase): @@ -13,16 +12,14 @@ class DictionaryTests(WLTestCase): def setUp(self): WLTestCase.setUp(self) self.book_info = BookInfoStub( - url=u"http://wolnelektury.pl/example/default-book", - about=u"http://wolnelektury.pl/example/URI/default_book", - title=u"Default Book", author=PersonStub(("Jim",), "Lazy"), kind="X-Kind", genre="X-Genre", epoch="X-Epoch", + **info_args(u"Default Book") ) - def test_book_with_fragment(self): + def test_book_with_footnote(self): BOOK_TEXT = """ rose --- kind of a flower.