call print_output after each testset

This commit is contained in:
debugtalk
2018-07-19 15:27:00 +08:00
parent 95db6f22dd
commit baaca1290f
2 changed files with 6 additions and 6 deletions

View File

@@ -11,8 +11,7 @@ from httprunner.__about__ import __description__, __version__
from httprunner.compat import is_py2
from httprunner.task import HttpRunner
from httprunner.utils import (create_scaffold, get_python2_retire_msg,
prettify_json_file, print_output,
validate_json_file)
prettify_json_file, validate_json_file)
def main_hrun():
@@ -88,9 +87,6 @@ def main_hrun():
)
summary = runner.summary
for suite_summary in summary["details"]:
print_output(suite_summary["output"])
return 0 if summary["success"] else 1
def main_locust():