[openstack-dev] One question to the fakelibvirt in nova test
Jiang, Yunhong
yunhong.jiang at intel.com
Tue Oct 15 18:04:06 UTC 2013
Hi, stackers,
I have a question to followed code in nova/tests/virt/libvirt/test_libvirt.py. My question is, when will the 'import libvirt' success and the fake libvirt not used?
try:
import libvirt
except ImportError:
import nova.tests.virt.libvirt.fakelibvirt as libvirt
libvirt_driver.libvirt = libvirt
Thanks
--jyh
More information about the OpenStack-dev
mailing list