fix #183: type error

This commit is contained in:
debugtalk
2018-04-20 11:19:35 +08:00
parent ad81114c15
commit 061f55cb1e

View File

@@ -234,7 +234,7 @@ class HttpRunner(object):
try:
task_suite = init_task_suite(path_or_testsets, mapping)
except exception.TestcaseNotFound:
logger.log_error("Testcases not found in {}".format(path))
logger.log_error("Testcases not found in {}".format(path_or_testsets))
sys.exit(1)
result = self.runner.run(task_suite)