fix: session_fixture的summary_path包含转义字符

This commit is contained in:
山海
2021-09-06 21:51:36 +08:00
committed by GitHub
parent 5467326f8e
commit a789d306b0

View File

@@ -342,7 +342,7 @@ def session_fixture(request):
testcase_summary_json["records"] = testcase_summary_json.pop("step_datas")
summary["details"].append(testcase_summary_json)
summary_path = "{{SUMMARY_PATH_PLACEHOLDER}}"
summary_path = r"{{SUMMARY_PATH_PLACEHOLDER}}"
summary_dir = os.path.dirname(summary_path)
os.makedirs(summary_dir, exist_ok=True)