Inc charmhelpers openstack HA in unittest mocks

A recent change has pulled in charmhelpers.contrib.openstack.ha.
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: I6fd0633d830a3a1785678419510e627d60388b52
This commit is contained in:
Liam Young 2017-10-30 16:18:39 +00:00
parent cc03973a35
commit 11733324d5
1 changed files with 2 additions and 0 deletions

View File

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