summaryrefslogtreecommitdiff
path: root/nova/tests/test_libvirt.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/test_libvirt.py')
-rw-r--r--nova/tests/test_libvirt.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py
index b2bc887809..1b65afc2a9 100644
--- a/nova/tests/test_libvirt.py
+++ b/nova/tests/test_libvirt.py
@@ -37,6 +37,7 @@ from nova import config
from nova import context
from nova import db
from nova import exception
+from nova.openstack.common import cfg
from nova.openstack.common import fileutils
from nova.openstack.common import importutils
from nova.openstack.common import jsonutils
@@ -69,7 +70,7 @@ except ImportError:
libvirt_driver.libvirt = libvirt
-CONF = config.CONF
+CONF = cfg.CONF
LOG = logging.getLogger(__name__)
_fake_network_info = fake_network.fake_get_instance_nw_info