From dbe25c73b976a8a3d9b5c10dc92b8c9a17c68baa Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 4 Apr 2020 18:35:16 +0200 Subject: Improve Ims coding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id8b042fd38399f0cf1868f67b5a3f4f1b4f2ef0d Signed-off-by: Cédric Ollivier --- functest_kubernetes/ims/ims.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest_kubernetes/ims') diff --git a/functest_kubernetes/ims/ims.py b/functest_kubernetes/ims/ims.py index fc365c62..19f2680f 100644 --- a/functest_kubernetes/ims/ims.py +++ b/functest_kubernetes/ims/ims.py @@ -100,7 +100,7 @@ class Vims(testcase.TestCase): "%s started in %0.2f sec", event['object'].metadata.name, time.time()-self.start_time) - if len(status) == 0: + if not status: watch_deployment.stop() self.result = 1/2 * 100 -- cgit 1.2.3-korg