diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-05-18 16:44:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-18 16:44:19 +0000 |
commit | 6a655e830dd891d0b5afec601b4fb2461b1fad42 (patch) | |
tree | e5ad8ac9a0862e6ae389581aeb15d4d32947b40a /functest/utils | |
parent | 54c02e2bd175a80a5659ddd4156c1166347efc93 (diff) | |
parent | 87dcf37d2d658e83252aadfad468639842a30085 (diff) |
Merge "Remove check_success_rate"
Diffstat (limited to 'functest/utils')
-rw-r--r-- | functest/utils/functest_utils.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index 744258b3..bf30f56e 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -379,16 +379,6 @@ def get_functest_config(parameter): return get_parameter_from_yaml(parameter, yaml_) -def check_success_rate(case_name, result): - # It should be removed as TestCase tests criteria - # and result. - logger.warning('check_success_rate will be removed soon') - criteria = get_criteria_by_test(case_name) - if type(criteria) == int and result >= criteria: - return 100 - return 0 - - def merge_dicts(dict1, dict2): for k in set(dict1.keys()).union(dict2.keys()): if k in dict1 and k in dict2: |