changeset 4997:8b51025823e0

Xapian2009: pep8 and typo fixes.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Tue, 11 Aug 2009 23:28:19 +0200
parents 0e4eff722cac
children d0c9c13dbeda
files MoinMoin/search/_tests/test_search.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/_tests/test_search.py	Tue Aug 11 23:19:17 2009 +0200
+++ b/MoinMoin/search/_tests/test_search.py	Tue Aug 11 23:28:19 2009 +0200
@@ -103,7 +103,7 @@
             if text:
                 nuke_page(self.request, page)
 
-    def get_seracher(self, query):
+    def get_searcher(self, query):
         raise NotImplementedError
 
     def search(self, query):
@@ -253,10 +253,12 @@
 
 
 class TestMoinSearch(BaseSearchTest):
+
     def get_searcher(self, query):
         pages = [{'pagename': page, 'attachment': '', 'wikiname': 'Self', } for page in self.pages]
         return MoinSearch(self.request, query, pages=pages)
 
+
 class TestXapianSearch(BaseSearchTest):
     """ search: test Xapian indexing """
 
@@ -310,6 +312,7 @@
                 query = ''.join([prefix, modifier, term])
                 yield query, test_query, query
 
+
 class TestXapianIndexingInNewThread(object):
     """ search: test Xapian indexing """