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)
def setUpClass(klass): super(UserDocsTextTests, klass).setUpClass() user_docs.setup( klass.db, index_type="text", default_field=klass.DEFAULT_FIELD, fields=klass.FIELDS )
def setUpClass(klass): super(UserDocsTests, klass).setUpClass() user_docs.setup(klass.db)
def setUpClass(klass): super(UserDocsTestsNoIndexes, klass).setUpClass() user_docs.setup(klass.db, index_type="_all_docs")
def setUpClass(klass): super(UserDocsTestsNoIndexes, klass).setUpClass() user_docs.setup(klass.db, index_type=klass.INDEX_TYPE)