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.ji...@intel.com] > Sent: Tuesday, October 15, 2013 11:04 AM > To: openstack-dev@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@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev