aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features/sdnvpn.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-11-29 11:41:21 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-11-30 08:42:06 +0100
commitac9a06a92ce16dc45ead136c1f2987cb9a202db5 (patch)
tree85b4d81a6b8f7401bb7b5c35ae9926bded876fd2 /functest/opnfv_tests/features/sdnvpn.py
parent6f01e0b78169aa58ecaa3310c4717bfe96a05d85 (diff)
Remove Notion of SKIP in test cases
JIRA: FUNCTEST-541 Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest/opnfv_tests/features/sdnvpn.py')
-rw-r--r--functest/opnfv_tests/features/sdnvpn.py15
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 = {}