From 6fd7b3b77703d151de27748bfa80a3d05081fd4a Mon Sep 17 00:00:00 2001 From: "L.G" Date: Thu, 26 Dec 2019 11:05:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=B9=E9=87=8F=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E5=A4=9A=E4=B8=AA=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=EF=BC=8C?= =?UTF-8?q?=E5=BD=93=E6=89=A7=E8=A1=8C=E6=97=B6=E9=97=B4=E5=B0=8F=E4=BA=8E?= =?UTF-8?q?1=E7=A7=92=E6=8A=A5=E5=91=8A=E4=BC=9A=E8=A2=AB=E8=A6=86?= =?UTF-8?q?=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- httprunner/report/html/gen_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httprunner/report/html/gen_report.py b/httprunner/report/html/gen_report.py index 43092849..265acdea 100644 --- a/httprunner/report/html/gen_report.py +++ b/httprunner/report/html/gen_report.py @@ -41,7 +41,7 @@ def gen_html_report(summary, report_template=None, report_dir=None, report_file= report_file_name = os.path.basename(report_file) else: report_dir = report_dir or os.path.join(os.getcwd(), "reports") - report_file_name = "{}.html".format(start_at_timestamp) + report_file_name = "{}.html".format(int(start_at_timestamp * 1000)) if not os.path.isdir(report_dir): os.makedirs(report_dir)