[openstack-dev] One question to the fakelibvirt in nova test

Jiang, Yunhong yunhong.jiang at intel.com
Tue Oct 15 18:14:04 UTC 2013


I thought it will be used when use local environment for ./run_test.sh, but./run_test.sh -N will have several failure and seems not supported anymore.

Thanks for any input/suggestions.

--jyh

> -----Original Message-----
> From: Jiang, Yunhong [mailto:yunhong.jiang at intel.com]
> Sent: Tuesday, October 15, 2013 11:04 AM
> To: openstack-dev at lists.openstack.org
> Subject: [openstack-dev] One question to the fakelibvirt in nova test
> 
> 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
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list