diff options
Diffstat (limited to 'utils/test/scripts/shared_utils.py')
-rw-r--r-- | utils/test/scripts/shared_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 - |