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

@@ -11,6 +11,7 @@
- fix #574: delete unnecessary code
- fix #551: raise if times is not digit
- fix #572: tests_def_mapping["testcases"] typo error
## 2.2.3 (2019-06-30)

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