summaryrefslogtreecommitdiffstats
path: root/utils/test/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
commit6f2bd06f607190d54a1268ad6813b4bf501eac1f (patch)
treea8fbfbc053a84498c8b242cf0aa24b3cdd6a3a75 /utils/test/scripts/shared_utils.py
parentc5a5ac59a33dacaaf47b210aee42c75f4459b273 (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 'utils/test/scripts/shared_utils.py')
-rw-r--r--utils/test/scripts/shared_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/test/scripts/shared_utils.py b/utils/test/scripts/shared_utils.py
index aa8a65d79..e90a17fa3 100644
--- a/utils/test/scripts/shared_utils.py
+++ b/utils/test/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 = '''{