mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 11:29:48 +08:00
fix #572: tests_def_mapping["testcases"] typo error
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user