From 061f55cb1eb9b5d3cf582adc2bffa1b00a3e0c3f Mon Sep 17 00:00:00 2001 From: debugtalk Date: Fri, 20 Apr 2018 11:19:35 +0800 Subject: [PATCH] fix #183: type error --- httprunner/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httprunner/task.py b/httprunner/task.py index 80161712..f3451c00 100644 --- a/httprunner/task.py +++ b/httprunner/task.py @@ -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)