summaryrefslogtreecommitdiffstats
path: root/scripts/shared_utils.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-19 17:52:30 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-19 17:52:30 +0800
commit5cba232fdfe294c46f2616469536090604fc14a2 (patch)
tree19f70722449b88e2a568376e350794d8b9f34726 /scripts/shared_utils.py
parentcbf4243f895f01d2800b5aeb93358521c1f7de49 (diff)
only publish testcases appear in testcases.py to save time
JIRA: FUNCTEST-474 Change-Id: Icb9f2ceaaf87f6b18d2aa342f093fefb3598f719 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'scripts/shared_utils.py')
-rw-r--r--scripts/shared_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/shared_utils.py b/scripts/shared_utils.py
index aa8a65d..e90a17f 100644
--- a/scripts/shared_utils.py
+++ b/scripts/shared_utils.py
@@ -41,6 +41,7 @@ def get_elastic_docs(elastic_url, creds, body=None, field = '_source'):
elastic_docs.append(hit[field])
return elastic_docs
+
def get_elastic_docs_by_days(elastic_url, creds, days):
if days == 0:
body = '''{