pass in specified .env file path

This commit is contained in:
debugtalk
2018-10-01 19:29:22 +08:00
parent e43903d892
commit 883fc7bdbe
3 changed files with 9 additions and 6 deletions

View File

@@ -79,10 +79,12 @@ def main_hrun():
try:
runner = HttpRunner(
failfast=args.failfast,
failfast=args.failfast
)
runner.run(
args.testset_paths,
dot_env_path=args.dot_env_path
)
runner.run(args.testset_paths)
except Exception:
logger.log_error("!!!!!!!!!! exception stage: {} !!!!!!!!!!".format(runner.exception_stage))
raise