mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
Merge pull request #1116 from WeekL/master
fix: session_fixture的summary_path包含转义字符
This commit is contained in:
@@ -342,7 +342,7 @@ def session_fixture(request):
|
|||||||
testcase_summary_json["records"] = testcase_summary_json.pop("step_datas")
|
testcase_summary_json["records"] = testcase_summary_json.pop("step_datas")
|
||||||
summary["details"].append(testcase_summary_json)
|
summary["details"].append(testcase_summary_json)
|
||||||
|
|
||||||
summary_path = "{{SUMMARY_PATH_PLACEHOLDER}}"
|
summary_path = r"{{SUMMARY_PATH_PLACEHOLDER}}"
|
||||||
summary_dir = os.path.dirname(summary_path)
|
summary_dir = os.path.dirname(summary_path)
|
||||||
os.makedirs(summary_dir, exist_ok=True)
|
os.makedirs(summary_dir, exist_ok=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user