19c9e86b192633ed8a3a031317ea6cef43315dec
Note: This test may have exposed a bug, where the `block_until_unit_wl_status` returns once it reaches the "maintenance" state, but subsequent queries to `unit.workload_status == "maintenance"` fail. Recreating the unit object (via `zaza.model.get_unit_from_name`) returns the correct workload_status when queried.
Zaza OpenStack Tests
This is a test library designed to be shared between the OpenStack Charms to improve code-reuse among the various components.
Usage
This example is taken from the pacemaker-remote charm's tests.yaml:
charm_name: pacemaker-remote
tests:
- zaza.openstack.charm_tests.pacemaker_remote.tests.PacemakerRemoteTest
configure:
- zaza.openstack.charm_tests.noop.setup.basic_setup
gate_bundles:
- basic
smoke_bundles:
- basic
test-requirements.txt:
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
Description
Languages
Python
99.6%
Jinja
0.4%