Skip to content

Commit

Permalink
tests to determine app status
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkavanagh committed Sep 25, 2019
1 parent 5ba0cf2 commit ce8c72e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zaza/openstack/charm_tests/policyd/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import zipfile

import zaza.model as zaza_model
import zaza.utilities.juju as zaza_juju

import zaza.openstack.charm_tests.test_utils as test_utils
import zaza.openstack.utilities.openstack as openstack_utils
Expand Down Expand Up @@ -112,6 +113,8 @@ def test_policyd_good_yaml(self):
zaza_model.block_until_all_units_idle()
# check that the status includes "PO:" at the beginning of the status
# line
app_status = zaza_juju.get_application_status(self.application_name)
logging.info("App status is: {}".format(app_status))

# disable the policy override
# verify that the file no longer exists
Expand Down

0 comments on commit ce8c72e

Please sign in to comment.