Inc charmhelpers openstack HA Utils in unittest mocks

A recent change has pulled in
charmhelpers.contrib.openstack.ha.utils. This is already mocked
out in the local charms.openstack unit tests but also needs to
be mocked out in the unit tests of the reactive charms.

Change-Id: I8850c9129321b1fc99a7345f971aa73062334c81
This commit is contained in:
Liam Young 2018-12-19 14:33:20 +00:00
parent 69d6e5462a
commit 759511722f
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ def mock_charmhelpers():
charmhelpers.contrib.openstack.context)
sys.modules['charmhelpers.contrib.openstack.ha'] = (
charmhelpers.contrib.openstack.ha)
sys.modules['charmhelpers.contrib.openstack.ha.utils'] = (
charmhelpers.contrib.openstack.ha.utils)
sys.modules['charmhelpers.contrib.openstack.utils'] = (
charmhelpers.contrib.openstack.utils)
sys.modules['charmhelpers.contrib.openstack.cert_utils'] = (