mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
fix compatibility: step_datas=>records
This commit is contained in:
@@ -265,7 +265,9 @@ def session_fixture(request):
|
||||
)
|
||||
summary["stat"]["teststeps"]["failures"] += 1
|
||||
|
||||
summary["details"].append(testcase_summary.dict())
|
||||
testcase_summary_json = testcase_summary.dict()
|
||||
testcase_summary_json["records"] = testcase_summary_json.pop("step_datas")
|
||||
summary["details"].append(testcase_summary_json)
|
||||
|
||||
summary_path = "{{SUMMARY_PATH_PLACEHOLDER}}"
|
||||
summary_dir = os.path.dirname(summary_path)
|
||||
|
||||
Reference in New Issue
Block a user