~xianghui/charms/trusty/nova-cloud-controller/live_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-06-12 09:42:39 UTC
  • mfrom: (150.2.30 nova-cloud-controller)
  • Revision ID: james.page@ubuntu.com-20150612094239-em9ls0y8rha6ew7j
Improve deploy from source support (venv use, master branch support)

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
13
 
# this assert is a double check + to avoid pep8 warning
14
 
assert _utils.config == hookenv.config
 
12
import nova_cc_utils as _utils  # noqa
15
13
hookenv.config = _conf
16
14
#####
17
15