mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-13 19:59:37 +08:00
add test result stat
This commit is contained in:
@@ -35,10 +35,7 @@ def run_suite_path(path, mapping=None, runner=None):
|
||||
for task in task_suite.tasks:
|
||||
output.update(task.output)
|
||||
|
||||
return Result(
|
||||
result.wasSuccessful(),
|
||||
output
|
||||
)
|
||||
return Result(result, output)
|
||||
|
||||
def main_hrun():
|
||||
""" API test: parse command line options and run commands.
|
||||
|
||||
Reference in New Issue
Block a user