mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add Reverse Engineered SQL tests for Types. Fixes #4468
This commit is contained in:
committed by
Dave Page
parent
88ab6db976
commit
1dcf46cc5f
@@ -104,7 +104,15 @@ class ReverseEngineeredSQLTestCases(BaseTestGenerator):
|
||||
complete_file_name = os.path.join(self.test_folder,
|
||||
filename)
|
||||
with open(complete_file_name) as jsonfp:
|
||||
data = json.load(jsonfp)
|
||||
try:
|
||||
data = json.load(jsonfp)
|
||||
except Exception as e:
|
||||
print(
|
||||
"Unable to read the json file: {0}".format(
|
||||
complete_file_name))
|
||||
traceback.print_exc()
|
||||
continue
|
||||
|
||||
for key, scenarios in data.items():
|
||||
self.execute_test_case(scenarios)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user