From a789d306b0e59d92ccd25cd546a7988befa73fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E6=B5=B7?= <31364134+WeekL@users.noreply.github.com> Date: Mon, 6 Sep 2021 21:51:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20session=5Ffixture=E7=9A=84summary=5Fpath?= =?UTF-8?q?=E5=8C=85=E5=90=AB=E8=BD=AC=E4=B9=89=E5=AD=97=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- httprunner/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httprunner/compat.py b/httprunner/compat.py index dd6b526e..4d76efda 100644 --- a/httprunner/compat.py +++ b/httprunner/compat.py @@ -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)