mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +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):
|
elif validator.is_testcases(path_or_tests):
|
||||||
return self.run_tests(path_or_tests)
|
return self.run_tests(path_or_tests)
|
||||||
else:
|
else:
|
||||||
raise exceptions.ParamsError("invalid testcase path or testcases.")
|
raise exceptions.ParamsError("Invalid testcase path or testcases: {}".format(path_or_tests))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def summary(self):
|
def summary(self):
|
||||||
|
|||||||
@@ -512,7 +512,8 @@ def print_io(in_out):
|
|||||||
content += prepare_content("Out", _out)
|
content += prepare_content("Out", _out)
|
||||||
content += "-" * 56 + "\n"
|
content += "-" * 56 + "\n"
|
||||||
|
|
||||||
logger.log_info(content)
|
if _out:
|
||||||
|
logger.log_info(content)
|
||||||
|
|
||||||
|
|
||||||
def create_scaffold(project_name):
|
def create_scaffold(project_name):
|
||||||
|
|||||||
Reference in New Issue
Block a user