From d77a8c4158562dea02500a7b6240b4934ab4fc7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Tue, 5 Jun 2018 20:29:04 +0200 Subject: [PATCH] Return true if at least one passed test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit JIRA: FUNCTEST-974 Change-Id: I9915dbb91516baf5307a577c41ede5dca51a2f07 Signed-off-by: Cédric Ollivier --- functest/opnfv_tests/vnf/ims/cloudify_ims.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.""" -- 2.16.6