print Invalid testcase path or testcases

This commit is contained in:
debugtalk
2019-01-22 21:19:03 +08:00
parent 343229c583
commit fd13fef0d5
2 changed files with 3 additions and 2 deletions

View File

@@ -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):