88fe0af9cb2f39ea804a958ccf5c0e1a09ccd2ae
* Functional test for 'enable' and 'disable' actions on nova-compute * lint fixes * Put tests of new functionality into separate class * Added tests for actions `remove-from-cloud` and `register-to-cloud` * Set longer timeout for action verification * Add logging to help with CI debugging * Raise error if action fails * Cleanup running VMs before test starts * Add cleanup to tests that create VMs
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.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%