charm-neutron-gateway/unit_tests
Alex Kavanagh 1890a97952 Modify paths to ensure that charms' charmhelpers is first
The pre-patch version of unit-testing tested the git-repo version of
charm-helpers instead of the version that was synced to the charm.

The git-repo version of charmhelpers is pip installed to obtain the
testing part of charm-helpers, for the unit tests.  Whilst this is a bug
(really), it was compounded in that - due to how the paths worked - the
unit tests' git version of charm-helpers was in the path first, and thus
all unit tests were performed using that version of charm-helpers, and
not the version actually synced into the charm.  This has led to all
sorts of 'odd' double mocking of config in the tests as there are
potentially two copies of charm-helpers (as was the case for py27).  A
further commit will undo that madness.

This patchset moves the charm synced version of charm-helpers earlier
into the path so it gets picked first when the modules are loaded.

Change-Id: Iff0566c52a283ff0cd2fc7707d981d8c47f3e6b2
2019-07-30 15:17:58 +01:00
..
__init__.py Modify paths to ensure that charms' charmhelpers is first 2019-07-30 15:17:58 +01:00
test_actions_openstack_upgrade.py Remove deploy from source support 2018-01-12 10:26:42 +00:00
test_actions.py Add pause/resume actions and sync charm-helpers 2016-04-10 06:54:31 +00:00
test_neutron_contexts.py Add support for FWaaS v2 logging 2019-06-25 16:26:12 +01:00
test_neutron_hooks.py Ensure we only try to set sysctls outside of a container 2019-05-17 09:32:52 +02:00
test_neutron_utils.py Replace nova vendor metadata code 2019-05-20 15:22:18 -03:00
test_utils.py Fix lint in unit test 2018-11-01 14:58:28 -05:00