X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..905f7fa0606b3218402df703ffac8bf6f825dde1:/src/catalogue/tests/search.py?ds=sidebyside diff --git a/src/catalogue/tests/search.py b/src/catalogue/tests/search.py index 77afae4c3..b6b03d828 100644 --- a/src/catalogue/tests/search.py +++ b/src/catalogue/tests/search.py @@ -7,21 +7,22 @@ from catalogue.test_utils import * from nose.tools import raises + class BasicSearchLogicTests(WLTestCase): def setUp(self): WLTestCase.setUp(self) self.author_tag = models.Tag.objects.create( - name=u'Adam Mickiewicz [SubWord]', - category=u'author', slug="one") + name=u'Adam Mickiewicz [SubWord]', + category=u'author', slug="one") self.unicode_tag = models.Tag.objects.create( - name=u'Tadeusz Żeleński (Boy)', - category=u'author', slug="two") + name=u'Tadeusz Żeleński (Boy)', + category=u'author', slug="two") self.polish_tag = models.Tag.objects.create( - name=u'ĘÓĄŚŁŻŹĆŃęóąśłżźćń', - category=u'author', slug="three") + name=u'ĘÓĄŚŁŻŹĆŃęóąśłżźćń', + category=u'author', slug="three") @raises(ValueError) def test_empty_query(self):