The libvirt tests shouldn't actually be connecting to libvirtd
while running unit tests. Many of the tests were calling either
getLibVersion or getCapabilites, which would start a connection.
Fake these out so the tests can run properly without libvirtd.
Reviewed: https:/ /review. openstack. org/24946 github. com/openstack/ nova/commit/ 8d5159dd6dd36d6 f3d1aadc1123574 c5b0aa0614
Committed: http://
Submitter: Jenkins
Branch: master
commit 8d5159dd6dd36d6 f3d1aadc1123574 c5b0aa0614
Author: Vishvananda Ishaya <email address hidden>
Date: Wed Mar 20 16:37:42 2013 -0700
Don't actually connect to libvirtd in unit tests.
The libvirt tests shouldn't actually be connecting to libvirtd
while running unit tests. Many of the tests were calling either
getLibVersion or getCapabilites, which would start a connection.
Fake these out so the tests can run properly without libvirtd.
Fixes bug 1157992
Change-Id: Iff1a60fc3cc912 fdaf641f1f28974 4bcc9cc9736