~james-page/charms/trusty/nova-cloud-controller/fixup-allowedunits-migration

« back to all changes in this revision

Viewing changes to unit_tests/test_nova_cc_contexts.py

  • Committer: james.page at ubuntu
  • Date: 2015-04-20 10:21:36 UTC
  • Revision ID: james.page@ubuntu.com-20150420102136-uj9hjyr5llwmjf59
Revert previous commit, work incomplete

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
from charmhelpers.core import hookenv
10
10
_conf = hookenv.config
11
11
hookenv.config = mock.MagicMock()
12
 
import nova_cc_utils as _utils  # noqa
 
12
import nova_cc_utils as _utils
 
13
# this assert is a double check + to avoid pep8 warning
 
14
assert _utils.config == hookenv.config
13
15
hookenv.config = _conf
14
16
#####
15
17