def setUpClass(klass): super(FriendDocsTextTests, klass).setUpClass() friend_docs.setup(klass.db, index_type="text")
def setUpClass(klass): super(FriendDocsTextTests, klass).setUpClass() if has_text_service(): friend_docs.setup(klass.db, index_type="text")