98faf678465c805fb754ac1f4d31e4d2b4363eed
When creating Openstack VMs the user has to specify the image it wants to use. sstream-mirror-glance adds a date to the image name, so they always have to recheck which is the current latest image. This commit tests the usage of the `set_latest_property` configuration. When --set-latest-property is given sstream-mirror-glance will set the recently synced image with the `latest=true` property and then remove the `latest` property from all the os_version/architecture matching images. Closes-bug: LP #1933130
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%