diff options
Diffstat (limited to 'functest/utils/functest_utils.py')
-rw-r--r-- | functest/utils/functest_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index 6be3883f..744258b3 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -385,8 +385,8 @@ def check_success_rate(case_name, 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 'PASS' - return 'FAIL' + return 100 + return 0 def merge_dicts(dict1, dict2): |