コード例 #1
0
 def setUpClass(klass):
     super(TextIndexSelectionTests, klass).setUpClass()
     if mango.has_text_service():
         user_docs.add_text_indexes(klass.db, {})
コード例 #2
0
 def setUpClass(klass):
     super(IndexSelectionTests, klass).setUpClass()
     user_docs.add_text_indexes(klass.db, {})
コード例 #3
0
 def setUpClass(klass):
     super(TextIndexSelectionTests, klass).setUpClass()
     if mango.has_text_service():
         user_docs.add_text_indexes(klass.db, {})
コード例 #4
0
 def setUp(self):
     self.db.recreate()
     user_docs.add_text_indexes(self.db, {})