mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 11:29:48 +08:00
print Invalid testcase path or testcases
This commit is contained in:
@@ -233,7 +233,7 @@ class HttpRunner(object):
|
||||
elif validator.is_testcases(path_or_tests):
|
||||
return self.run_tests(path_or_tests)
|
||||
else:
|
||||
raise exceptions.ParamsError("invalid testcase path or testcases.")
|
||||
raise exceptions.ParamsError("Invalid testcase path or testcases: {}".format(path_or_tests))
|
||||
|
||||
@property
|
||||
def summary(self):
|
||||
|
||||
@@ -512,7 +512,8 @@ def print_io(in_out):
|
||||
content += prepare_content("Out", _out)
|
||||
content += "-" * 56 + "\n"
|
||||
|
||||
logger.log_info(content)
|
||||
if _out:
|
||||
logger.log_info(content)
|
||||
|
||||
|
||||
def create_scaffold(project_name):
|
||||
|
||||
Reference in New Issue
Block a user