X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..79d770e03bde9d600ec6effdcc9c15487ff23897:/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):