aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims
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:51:31 +0200
commit25aa4791c9ff3bbaa0b93a55475b83c2576e40c9 (patch)
treed35a8c02e50a93c39dc9dd5c157f032c703dcd4f /functest_kubernetes/ims
parentf7611642df4f44f50a645cb9390c2c4219c1e6d0 (diff)
Improve Ims coding
Change-Id: Id8b042fd38399f0cf1868f67b5a3f4f1b4f2ef0d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dbe25c73b976a8a3d9b5c10dc92b8c9a17c68baa)
Diffstat (limited to 'functest_kubernetes/ims')
-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