Tidy up the regression test output a little.
parent
05d2373c9a
commit
03f292ce51
|
@ -44,8 +44,7 @@ class FTSConfGetTestCase(BaseTestGenerator):
|
|||
self.server, self.db_name, self.schema_name, self.fts_conf_name)
|
||||
|
||||
def runTest(self):
|
||||
""" This function will fetch new FTS configuration under
|
||||
test schema. """
|
||||
""" This function will fetch new FTS configuration under test schema. """
|
||||
|
||||
db_con = database_utils.connect_database(self,
|
||||
utils.SERVER_GROUP,
|
||||
|
|
|
@ -30,7 +30,7 @@ class FtsDictionaryAddTestCase(BaseTestGenerator):
|
|||
]
|
||||
|
||||
def runTest(self):
|
||||
|
||||
""" This function will add new FTS dictionary under test schema. """
|
||||
self.schema_data = parent_node_dict['schema'][-1]
|
||||
self.schema_name = self.schema_data['schema_name']
|
||||
self.schema_id = self.schema_data['schema_id']
|
||||
|
|
|
@ -46,7 +46,7 @@ class FtsDictionaryGetTestCase(BaseTestGenerator):
|
|||
self.fts_dict_name)
|
||||
|
||||
def runTest(self):
|
||||
|
||||
""" This function will fetch new FTS dictionaries under test schema. """
|
||||
db_con = database_utils.connect_database(self,
|
||||
utils.SERVER_GROUP,
|
||||
self.server_id,
|
||||
|
|
|
@ -47,8 +47,7 @@ class FtsDictionaryPutTestCase(BaseTestGenerator):
|
|||
self.fts_dict_name)
|
||||
|
||||
def runTest(self):
|
||||
""" This function will update FTS dictionary present under
|
||||
test schema. """
|
||||
""" This function will update FTS dictionary present under test schema. """
|
||||
|
||||
db_con = database_utils.connect_database(self,
|
||||
utils.SERVER_GROUP,
|
||||
|
|
|
@ -29,7 +29,7 @@ class FtsParserAddTestCase(BaseTestGenerator):
|
|||
]
|
||||
|
||||
def runTest(self):
|
||||
|
||||
""" This function will add a new FTS parser under test schema. """
|
||||
self.schema_data = parent_node_dict['schema'][-1]
|
||||
self.schema_name = self.schema_data['schema_name']
|
||||
self.schema_id = self.schema_data['schema_id']
|
||||
|
|
|
@ -45,10 +45,7 @@ class FtsParserDeleteTestCase(BaseTestGenerator):
|
|||
self.fts_parser_name)
|
||||
|
||||
def runTest(self):
|
||||
|
||||
""" This function will delete FTS parser present under
|
||||
test schema. """
|
||||
|
||||
""" This function will delete FTS parser present under test schema. """
|
||||
db_con = database_utils.connect_database(self,
|
||||
utils.SERVER_GROUP,
|
||||
self.server_id,
|
||||
|
|
|
@ -45,7 +45,7 @@ class FtsParserGetTestCase(BaseTestGenerator):
|
|||
self.fts_parser_name)
|
||||
|
||||
def runTest(self):
|
||||
|
||||
""" This function will fetch new FTS parser under test schema. """
|
||||
db_con = database_utils.connect_database(self,
|
||||
utils.SERVER_GROUP,
|
||||
self.server_id,
|
||||
|
|
|
@ -46,10 +46,7 @@ class FtsParserPutTestCase(BaseTestGenerator):
|
|||
self.fts_parser_name)
|
||||
|
||||
def runTest(self):
|
||||
|
||||
""" This function will update FTS parser present under
|
||||
test schema. """
|
||||
|
||||
""" This function will update FTS parser present under test schema. """
|
||||
db_con = database_utils.connect_database(self,
|
||||
utils.SERVER_GROUP,
|
||||
self.server_id,
|
||||
|
|
|
@ -12,9 +12,7 @@ if sys.version_info[0] >= 3:
|
|||
|
||||
class TestTablesNode(BaseTestGenerator):
|
||||
def runTest(self):
|
||||
"""
|
||||
This tests that all applicable sql template versions can fetch table names
|
||||
"""
|
||||
""" This tests that all applicable sql template versions can fetch table names """
|
||||
with test_utils.Database(self.server) as (connection, database_name):
|
||||
test_utils.create_table(self.server, database_name, "test_table")
|
||||
|
||||
|
@ -41,8 +39,6 @@ class TestTablesNode(BaseTestGenerator):
|
|||
for index, description in enumerate(cursor.description):
|
||||
first_row[description.name] = fetch_result[0][index]
|
||||
|
||||
print (first_row)
|
||||
|
||||
oid = first_row['oid']
|
||||
name = first_row['name']
|
||||
triggercount = first_row['triggercount']
|
||||
|
|
Loading…
Reference in New Issue