diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-12-01 16:41:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-01 16:41:22 +0000 |
commit | 8417877de20766eb9695382e708efeb8de32cab6 (patch) | |
tree | 4cde19e0379d992ede4fa853bef4b441138bae37 /functest/opnfv_tests/features/sdnvpn.py | |
parent | 0c4870bbdb32540ff358ea0b7cc068645c0a4db1 (diff) | |
parent | ac9a06a92ce16dc45ead136c1f2987cb9a202db5 (diff) |
Merge "Remove Notion of SKIP in test cases"
Diffstat (limited to 'functest/opnfv_tests/features/sdnvpn.py')
-rw-r--r-- | functest/opnfv_tests/features/sdnvpn.py | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/functest/opnfv_tests/features/sdnvpn.py b/functest/opnfv_tests/features/sdnvpn.py index 567b5fbc..1c07fe14 100644 --- a/functest/opnfv_tests/features/sdnvpn.py +++ b/functest/opnfv_tests/features/sdnvpn.py @@ -41,23 +41,18 @@ class SdnVpnTests(TestCasesBase.TestCasesBase): output_file=log_file) stop_time = time.time() - duration = round(stop_time - start_time, 1) - if ret == 0 and duration > 1: + if ret == 0: self.logger.info("%s OK" % self.case_name) status = 'PASS' - elif ret == 0 and duration <= 1: - self.logger.info("%s TEST SKIPPED" % self.case_name) - status = 'SKIP' else: self.logger.info("%s FAILED" % self.case_name) status = "FAIL" # report status only if tests run (FAIL OR PASS) - if status is not "SKIP": - self.criteria = status - self.start_time = start_time - self.stop_time = stop_time - self.details = {} + self.criteria = status + self.start_time = start_time + self.stop_time = stop_time + self.details = {} def run(self): kwargs = {} |