summaryrefslogtreecommitdiff
path: root/tests/test_search.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-06-12 00:42:47 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-06-12 00:42:47 +0900
commit88c026d0bd702e1e81912f17f900481fc02f491a (patch)
tree414a7baafad5cc43619ef6890559a8d5bdec6e7b /tests/test_search.py
parent8043f6406fce678892bb235bd37af423318369bf (diff)
parent3d5319e705561942ef5eeef911206e1aad2b5cfa (diff)
downloadsphinx-git-88c026d0bd702e1e81912f17f900481fc02f491a.tar.gz
Merge branch 'stable'
Diffstat (limited to 'tests/test_search.py')
-rw-r--r--tests/test_search.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_search.py b/tests/test_search.py
index 212ce778c..23d6b933a 100644
--- a/tests/test_search.py
+++ b/tests/test_search.py
@@ -21,6 +21,7 @@ from util import with_app
settings = parser = None
+
def setup_module():
global settings, parser
optparser = frontend.OptionParser(components=(rst.Parser,))
@@ -45,6 +46,7 @@ FILE_CONTENTS = '''\
test that non-comments are indexed: fermion
'''
+
def test_wordcollector():
doc = utils.new_document(b'test data', settings)
doc['file'] = 'dummy'