fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/dev' into dev
[wolnelektury.git]
/
src
/
catalogue
/
tests
/
search.py
diff --git
a/src/catalogue/tests/search.py
b/src/catalogue/tests/search.py
index
77afae4
..
b6b03d8
100644
(file)
--- 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
from nose.tools import raises
+
class BasicSearchLogicTests(WLTestCase):
def setUp(self):
WLTestCase.setUp(self)
self.author_tag = models.Tag.objects.create(
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(
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(
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):
@raises(ValueError)
def test_empty_query(self):