Fix pep8 error in ceilometer

Fix below pep8 error message
zaza/openstack/charm_tests/ceilometer/tests.py:129:16: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinst
ance()`
This commit is contained in:
Seyeong Kim
2023-08-08 09:05:43 +09:00
parent df6dd60e11
commit f76b226ca4

View File

@@ -126,7 +126,7 @@ class CeilometerTest(test_utils.OpenStackBaseTest):
current_value = openstack_utils.get_application_config_option(
self.application_name, config_name
)
assert type(current_value) == bool
assert type(current_value) is bool
new_value = not current_value
# Convert bool to str