From 259fa272643542afefde4415052313a01b110c7a Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Mon, 12 Sep 2016 18:09:01 +0800 Subject: refactor modify_mongo_entry of kibana_dashboard JIRA: FUNCTEST-469 Change-Id: Ifd6598232fb0a1615352e0f27aefd51beeedbcbc Signed-off-by: SerenaFeng --- utils/test/scripts/shared_utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/test/scripts/shared_utils.py') diff --git a/utils/test/scripts/shared_utils.py b/utils/test/scripts/shared_utils.py index 8bbbdbe07..15c1af8a5 100644 --- a/utils/test/scripts/shared_utils.py +++ b/utils/test/scripts/shared_utils.py @@ -1,5 +1,7 @@ -import urllib3 import json + +import urllib3 + http = urllib3.PoolManager() @@ -36,4 +38,3 @@ def get_elastic_data(elastic_url, creds, body, field='_source'): for hit in elastic_json['hits']['hits']: elastic_data.append(hit[field]) return elastic_data - -- cgit 1.2.3-korg