aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-07-03 20:05:34 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-07-03 20:05:34 +0200
commit6493a5acf8a3724f7c00fc971542d25b42a36e4c (patch)
treec601979bfd8a0d4038174075dac54402a2d4372c
parentb1acb9c247f09b6c6e29442c4d8e067d6e4a3c10 (diff)
Fix former pep8 issues
It's allowed by the newer version Change-Id: Ief4cb2f0cce8da8af6e0bee275772f0940f56d5a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest_kubernetes/ims/ims.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest_kubernetes/ims/ims.py b/functest_kubernetes/ims/ims.py
index 93312575..8a610db9 100644
--- a/functest_kubernetes/ims/ims.py
+++ b/functest_kubernetes/ims/ims.py
@@ -120,8 +120,8 @@ class Vims(testcase.TestCase):
func=self.corev1.list_namespaced_pod,
namespace=self.namespace, timeout_seconds=self.watch_timeout):
if event["object"].metadata.name == self.test_container_name:
- if (event["object"].status.phase == 'Succeeded'
- or event["object"].status.phase == 'Error'):
+ if (event["object"].status.phase == 'Succeeded' or
+ event["object"].status.phase == 'Error'):
watch_deployment.stop()
api_response = self.corev1.read_namespaced_pod_log(
name=self.test_container_name, namespace=self.namespace)