diff --git a/httprunner/report.py b/httprunner/report.py index 58989d57..eeaa2b2d 100644 --- a/httprunner/report.py +++ b/httprunner/report.py @@ -315,7 +315,7 @@ def gen_html_report(summary, report_template=None, report_dir=None, report_file= if not report_template: report_template = os.path.join( os.path.abspath(os.path.dirname(__file__)), - "static", + "report", "report_template.html" ) logger.log_debug("No html report template specified, use default.") diff --git a/httprunner/report/__init__.py b/httprunner/report/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/httprunner/static/report_template.html b/httprunner/report/report_template.html similarity index 100% rename from httprunner/static/report_template.html rename to httprunner/report/report_template.html