From 56776d0bb29ace767f3737978227e269cc028b0f Mon Sep 17 00:00:00 2001 From: Shunde Zhang Date: Tue, 2 Apr 2024 21:00:39 +1100 Subject: [PATCH] Fixed pep8 errors. --- zaza/openstack/charm_tests/ceph/tests.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/zaza/openstack/charm_tests/ceph/tests.py b/zaza/openstack/charm_tests/ceph/tests.py index eb2d7ed..d45a6ad 100644 --- a/zaza/openstack/charm_tests/ceph/tests.py +++ b/zaza/openstack/charm_tests/ceph/tests.py @@ -902,7 +902,6 @@ class CephRGWTest(test_utils.BaseCharmTest): def enable_virtual_hosted_bucket(self): """Enable virtual hosted bucket on primary rgw app.""" - zaza_model.set_application_config( self.primary_rgw_app, { @@ -912,7 +911,6 @@ class CephRGWTest(test_utils.BaseCharmTest): def set_os_public_hostname(self): """Set os-public-hostname on primary rgw app.""" - zaza_model.set_application_config( self.primary_rgw_app, { @@ -921,11 +919,7 @@ class CephRGWTest(test_utils.BaseCharmTest): ) def clean_virtual_hosted_bucket(self): - """Clear virtual hosted bucket on primary app. - - :param app_name: App for which config values are to be cleared - :type app_name: str - """ + """Clear virtual hosted bucket on primary app.""" zaza_model.set_application_config( self.primary_rgw_app, { @@ -1239,9 +1233,9 @@ class CephRGWTest(test_utils.BaseCharmTest): assert_state = { self.primary_rgw_app: { "workload-status": "blocked", - "workload-status-message-prefix": "os_public_hostname " - "must have a value since virtual_hosted_bucket_enabled" - " is true" + "workload-status-message-prefix": + "os_public_hostname must have a value since " + "virtual_hosted_bucket_enabled is true" } } zaza_model.wait_for_application_states(self.model_name,