From 42966304799465bf13e8cfe5c80dfe2647862a54 Mon Sep 17 00:00:00 2001 From: Luciano Lo Giudice Date: Wed, 24 Apr 2024 11:38:12 -0300 Subject: [PATCH] PEP8 change --- zaza/openstack/charm_tests/ceph/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zaza/openstack/charm_tests/ceph/tests.py b/zaza/openstack/charm_tests/ceph/tests.py index 9e18ca872..86fcf33c9 100644 --- a/zaza/openstack/charm_tests/ceph/tests.py +++ b/zaza/openstack/charm_tests/ceph/tests.py @@ -1815,9 +1815,9 @@ def test_key_rotate(self): try: zaza_model.get_application('ceph-fs') - fs_entity = self._get_all_keys(unit, lambda x: x.startswith('mds.')) - if fs_entity is not None: - self._check_key_rotation(next(iter(fs_entity))[0], unit) + fs_svc = self._get_all_keys(unit, lambda x: x.startswith('mds.')) + if fs_svc is not None: + self._check_key_rotation(next(iter(fs_svc))[0], unit) else: logging.info('ceph-fs units present, but no MDS service') except KeyError: