fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix section counting/targetting from search snippet
[wolnelektury.git]
/
apps
/
search
/
tests
/
index.py
diff --git
a/apps/search/tests/index.py
b/apps/search/tests/index.py
index
ee376a8
..
ef253e4
100644
(file)
--- a/
apps/search/tests/index.py
+++ b/
apps/search/tests/index.py
@@
-15,6
+15,7
@@
class BookSearchTests(WLTestCase):
def setUp(self):
JVM.attachCurrentThread()
WLTestCase.setUp(self)
+ settings.NO_SEARCH_INDEX = False
settings.SEARCH_INDEX = path.join(settings.MEDIA_ROOT, 'search')
txt = path.join(path.dirname(__file__), 'files/fraszka-do-anusie.xml')