aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims/ims.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-04-04 18:35:16 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-04-29 17:49:46 +0200
commitdbe25c73b976a8a3d9b5c10dc92b8c9a17c68baa (patch)
tree33f632f6acb47c08c30d0fa12e94095d308894ad /functest_kubernetes/ims/ims.py
parent9091678d654e022852e9001eeb99de2cedfd7bf2 (diff)
Improve Ims coding
Change-Id: Id8b042fd38399f0cf1868f67b5a3f4f1b4f2ef0d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest_kubernetes/ims/ims.py')
-rw-r--r--functest_kubernetes/ims/ims.py2
1 files changed, 1 insertions, 1 deletions
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