fix #572: tests_def_mapping["testcases"] typo error

This commit is contained in:
debugtalk
2019-07-15 00:18:46 +08:00
parent 722555bafb
commit b515d85829
2 changed files with 3 additions and 2 deletions

View File

@@ -351,9 +351,9 @@ def __extend_with_testcase_ref(raw_testinfo):
raise exceptions.FileFormatError(
"Invalid format testcase: {}".format(testcase_path))
tests_def_mapping[testcase_path] = testcase_dict
tests_def_mapping["testcases"][testcase_path] = testcase_dict
else:
testcase_dict = tests_def_mapping[testcase_path]
testcase_dict = tests_def_mapping["testcases"][testcase_path]
raw_testinfo["testcase_def"] = testcase_dict