Пример #1
0
 def setUpClass(klass):
     super(UserDocsTextTests, klass).setUpClass()
     if has_text_service():
         user_docs.setup(klass.db,
                         index_type="text",
                         default_field=klass.DEFAULT_FIELD,
                         fields=klass.FIELDS)
Пример #2
0
 def setUpClass(klass):
     super(UserDocsTextTests, klass).setUpClass()
     user_docs.setup(
             klass.db,
             index_type="text",
             default_field=klass.DEFAULT_FIELD,
             fields=klass.FIELDS
         )
Пример #3
0
 def setUpClass(klass):
     super(UserDocsTests, klass).setUpClass()
     user_docs.setup(klass.db)
Пример #4
0
 def setUpClass(klass):
     super(UserDocsTestsNoIndexes, klass).setUpClass()
     user_docs.setup(klass.db, index_type="_all_docs")
Пример #5
0
 def setUpClass(klass):
     super(UserDocsTests, klass).setUpClass()
     user_docs.setup(klass.db)
Пример #6
0
 def setUpClass(klass):
     super(UserDocsTestsNoIndexes, klass).setUpClass()
     user_docs.setup(klass.db, index_type="_all_docs")
Пример #7
0
 def setUpClass(klass):
     super(UserDocsTestsNoIndexes, klass).setUpClass()
     user_docs.setup(klass.db, index_type=klass.INDEX_TYPE)