Skip to content

Commit

Permalink
More test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkavanagh committed Sep 25, 2019
1 parent 67f1650 commit 1110ced
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zaza/openstack/charm_tests/policyd/tests.py
Expand Up @@ -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")

Expand Down

0 comments on commit 1110ced

Please sign in to comment.