Add charmhelpers.contrib.openstack.context mock

This, oddly, was left out of the worker-multiplier change, but is needed
for charms to be able to run their unit tests.

Change-Id: I15a987816f54ec89b1557e8796fe31d0b60adc01
This commit is contained in:
Alex Kavanagh 2017-08-04 15:55:25 +01:00
parent 729234dde1
commit 80d09b770d
1 changed files with 2 additions and 0 deletions

View File

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