diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-07-03 20:05:34 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-07-03 20:05:34 +0200 |
commit | 6493a5acf8a3724f7c00fc971542d25b42a36e4c (patch) | |
tree | c601979bfd8a0d4038174075dac54402a2d4372c /functest_kubernetes | |
parent | b1acb9c247f09b6c6e29442c4d8e067d6e4a3c10 (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>
Diffstat (limited to 'functest_kubernetes')
-rw-r--r-- | functest_kubernetes/ims/ims.py | 4 |
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) |