aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/functest_utils.py
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2016-12-09 08:54:09 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-09 08:54:09 +0000
commitdafed654965a05cab6891b53df80f11e37a1750a (patch)
tree1d8e48e6b3396df1352023446154db266e0561c0 /functest/utils/functest_utils.py
parent3e8707b400695269f2f9737fb8e094419a461f6a (diff)
parentc5c6dce10bfa43dacd3043ebe9942689eed8b9a4 (diff)
Merge "abstract umbrella part to make integration code simpler"
Diffstat (limited to 'functest/utils/functest_utils.py')
-rw-r--r--functest/utils/functest_utils.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py
index 5e204687..8f816cdf 100644
--- a/functest/utils/functest_utils.py
+++ b/functest/utils/functest_utils.py
@@ -418,23 +418,6 @@ def merge_dicts(dict1, dict2):
yield (k, dict2[k])
-def check_test_result(test_name, ret, start_time, stop_time):
- def get_criteria_value():
- return get_criteria_by_test(test_name).split('==')[1].strip()
-
- status = 'FAIL'
- if str(ret) == get_criteria_value():
- status = 'PASS'
-
- details = {
- 'timestart': start_time,
- 'duration': round(stop_time - start_time, 1),
- 'status': status,
- }
-
- return status, details
-
-
def get_testcases_file_dir():
return get_functest_config('general.functest.testcases_yaml')