Add Reverse Engineered SQL tests for Types. Fixes #4468

This commit is contained in:
Murtuza Zabuawala
2019-07-15 10:25:04 +01:00
committed by Dave Page
parent 88ab6db976
commit 1dcf46cc5f
15 changed files with 341 additions and 3 deletions

View File

@@ -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)