From 1110ced7c17c45ff8ffb2578c207e0b8d12d2dcb Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Thu, 19 Sep 2019 14:34:08 +0200 Subject: [PATCH] More test debugging --- zaza/openstack/charm_tests/policyd/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/policyd/tests.py b/zaza/openstack/charm_tests/policyd/tests.py index 55736a503..bb6fa4a16 100644 --- a/zaza/openstack/charm_tests/policyd/tests.py +++ b/zaza/openstack/charm_tests/policyd/tests.py @@ -124,12 +124,13 @@ def test_policyd_good_yaml(self): # disable the policy override logging.info("Disabling policy override ...") self._set_config_and_wait(False) + logging.info("Done setting false?") # check that the status no longer has "PO:" on it. app_status = zaza_juju.get_application_status(self.application_name) wl_stats = [v['workload-status']['info'] for k, v in app_status['units'].items() if k.split('/')[0] == self.application_name] - logging.info("App status is: {}".format(wl_stats)) + logging.info("After App status is: {}".format(wl_stats)) self.assertFalse(any(s.startswith("PO:") for s in wl_stats)) logging.info("... done")