Frode Nordahl 9203865408 n-ovs: Do not use model.set_application_config directly
There are two problems with doing so as part of individual
functional tests:

1) If the application already have the value set the test will
   time out waiting for a change that will never be made.

2) python-libjuju ``set_config`` call requires values to be
   ``str`` regardless of their actual type.  Pairing this fact
   with the requirement to use the actual type when comparing
   values before attempting to set them makes this very confusing
   and error prone.

   juju/python-libjuju#388
   openstack-charmers/zaza#348

Use the ``config_change`` helper instead.
2020-04-20 10:11:31 +02:00
2020-04-02 15:44:17 +02:00
2020-04-07 11:14:49 +02:00

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
S
Description
No description provided
Readme Apache-2.0 3.8 MiB
Languages
Python 99.6%
Jinja 0.4%