From 4267e369c53cd7d2581e72d88cb5b4fbfee785da Mon Sep 17 00:00:00 2001 From: debugtalk Date: Thu, 22 Jun 2017 23:13:59 +0800 Subject: [PATCH] improve exception notification --- ate/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ate/runner.py b/ate/runner.py index e28c4bf8..ce2ea3d8 100644 --- a/ate/runner.py +++ b/ate/runner.py @@ -13,7 +13,7 @@ class TestRunner(object): url = req_kwargs.pop('url') method = req_kwargs.pop('method') except KeyError: - raise exception.ParamsError("Params Error") + raise exception.ParamsError("URL or METHOD missed!") resp_obj = self.client.request(url=url, method=method, **req_kwargs) diff_content = utils.diff_response(resp_obj, testcase['response'])