change: generate reports folder in current working directory

This commit is contained in:
debugtalk
2020-03-10 17:24:19 +08:00
parent 11300d1034
commit 24feb0a28b
3 changed files with 2 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ def main():
try:
for path in args.testfile_paths:
summary = runner.run(path, dot_env_path=args.dot_env_path)
report_dir = args.report_dir or os.path.join(runner.project_working_directory, "reports")
report_dir = args.report_dir or os.path.join(os.getcwd(), "reports")
gen_html_report(
summary,
report_template=args.report_template,