Return true if at least one passed test 63/58263/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 5 Jun 2018 18:29:04 +0000 (20:29 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 5 Jun 2018 19:08:46 +0000 (21:08 +0200)
JIRA: FUNCTEST-974

Change-Id: I9915dbb91516baf5307a577c41ede5dca51a2f07
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/opnfv_tests/vnf/ims/cloudify_ims.py

index a0386f1..270c0a7 100644 (file)
@@ -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."""