summaryrefslogtreecommitdiffstats
path: root/result_collection_api/resources
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-05-30 21:58:19 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-05-30 21:58:19 +0800
commitdc13d5eac8f110678c1105ca3e06a58b999298ec (patch)
tree3f3dfc5118b62773659d3f498798668723863c56 /result_collection_api/resources
parent7358b5733d9e25f68b44b366ebe7714544b24c6c (diff)
eliminate flake8 violation of testAPI
JIRA: FUNCTEST-274 Change-Id: I64e5e1c0d1165ac7ad7ff59dfd824dc00e131cdc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api/resources')
-rw-r--r--result_collection_api/resources/handlers.py2
-rw-r--r--result_collection_api/resources/result_handlers.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/result_collection_api/resources/handlers.py b/result_collection_api/resources/handlers.py
index b4f7117..a2c6b8d 100644
--- a/result_collection_api/resources/handlers.py
+++ b/result_collection_api/resources/handlers.py
@@ -177,7 +177,7 @@ class GenericApiHandler(RequestHandler):
request = dict()
for k, v in self.json_args.iteritems():
request = self._update_request(request, k, v,
- data.__getattribute__(k))
+ data.__getattribute__(k))
if not request:
raise HTTPError(HTTP_FORBIDDEN, "Nothing to update")
return request
diff --git a/result_collection_api/resources/result_handlers.py b/result_collection_api/resources/result_handlers.py
index d344f46..e7fce47 100644
--- a/result_collection_api/resources/result_handlers.py
+++ b/result_collection_api/resources/result_handlers.py
@@ -54,8 +54,8 @@ class ResultsCLHandler(GenericResultHandler):
- period : x (x last days)
- scenario : the test scenario (previously version)
- criteria : the global criteria status passed or failed
- - trust_indicator : evaluate the stability of the test case to avoid
- running systematically long and stable test case
+ - trust_indicator : evaluate the stability of the test case
+ to avoid running systematically long and stable test case
GET /results/project=functest&case=vPing&version=Arno-R1 \
&pod=pod_name&period=15