summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-06-05 20:29:04 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-06-05 21:08:46 +0200
commitd77a8c4158562dea02500a7b6240b4934ab4fc7c (patch)
tree738d7eb5b1b2d49a2c6c0707339449c7f0af9c2e
parenta66e3b24e4dccd9e58fa5947d9850df48e74f07e (diff)
Return true if at least one passed test
JIRA: FUNCTEST-974 Change-Id: I9915dbb91516baf5307a577c41ede5dca51a2f07 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/vnf/ims/cloudify_ims.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims.py b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
index a0386f10d..270c0a7cf 100644
--- a/functest/opnfv_tests/vnf/ims/cloudify_ims.py
+++ b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
@@ -403,7 +403,7 @@ class CloudifyIms(clearwater_ims_base.ClearwaterOnBoardingBase):
self.details['test_vnf'].update(status='FAIL')
return False
- return True
+ return True if vnf_test_rate > 0 else False
def clean(self):
"""Clean created objects/functions."""