mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-16 05:57:37 +08:00
pass in specified .env file path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user