Add cert_utils to test mocks
cert_utils was recently added to charmhelpers and needs to be mocked in unit tests. Change-Id: I9e5df7798799e1afe5403bbbd2156e7257b3c394
This commit is contained in:
parent
323edcc8c9
commit
9fb7981d32
|
@ -28,6 +28,8 @@ def mock_charmhelpers():
|
|||
charmhelpers.contrib.openstack.ha)
|
||||
sys.modules['charmhelpers.contrib.openstack.utils'] = (
|
||||
charmhelpers.contrib.openstack.utils)
|
||||
sys.modules['charmhelpers.contrib.openstack.cert_utils'] = (
|
||||
charmhelpers.contrib.openstack.cert_utils)
|
||||
sys.modules['charmhelpers.contrib.openstack.templating'] = (
|
||||
charmhelpers.contrib.openstack.templating)
|
||||
sys.modules['charmhelpers.contrib.network'] = charmhelpers.contrib.network
|
||||
|
|
Loading…
Reference in New Issue