mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Improve error output for the RE-SQL tests.
This commit is contained in:
parent
2c2c738f31
commit
aed6b9e636
@ -222,11 +222,12 @@ class ReverseEngineeredSQLTestCases(BaseTestGenerator):
|
|||||||
|
|
||||||
# Compare the reverse engineering SQL
|
# Compare the reverse engineering SQL
|
||||||
if not self.check_re_sql(scenario, object_id):
|
if not self.check_re_sql(scenario, object_id):
|
||||||
print_msg = scenario['name']
|
print(scenario['name'] + "... FAIL")
|
||||||
|
|
||||||
if 'expected_sql_file' in scenario:
|
if 'expected_sql_file' in scenario:
|
||||||
print_msg = print_msg + " Expected SQL File:" + \
|
print_msg = " - Expected SQL File: " + \
|
||||||
scenario['expected_sql_file']
|
os.path.join(self.test_folder,
|
||||||
print_msg = print_msg + "... FAIL"
|
scenario['expected_sql_file'])
|
||||||
print(print_msg)
|
print(print_msg)
|
||||||
continue
|
continue
|
||||||
elif 'type' in scenario and scenario['type'] == 'alter':
|
elif 'type' in scenario and scenario['type'] == 'alter':
|
||||||
|
Loading…
Reference in New Issue
Block a user