summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-06-28 11:31:56 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-06-28 11:36:14 +0100
commit5abf5109009359ea1ef49cd7ac59b50a4f55dfbf (patch)
tree3ba27a1abfc00a4f09e2414aae3d84f21f2d2790 /nova/openstack
parent829832bc7bfea94da061a8aff42ba7229ab23bdc (diff)
downloadnova-5abf5109009359ea1ef49cd7ac59b50a4f55dfbf.tar.gz
nova-5abf5109009359ea1ef49cd7ac59b50a4f55dfbf.tar.xz
nova-5abf5109009359ea1ef49cd7ac59b50a4f55dfbf.zip
Fix regression in test_connection_to_primitive libvirt testcase
Commit aa9a592abcbfabad4d2a3f8bb49d1b28d7724262, which renamed the libvirt module from 'connection' -> 'driver', accidentally introduced a flaw in the test_connection_to_primitive libvirt testcase. The original code in that test case was connection = nova.virt.libvirt.connection.LibvirtDriver('') jsonutils.to_primitive(connection._conn, convert_instances=True) Notice how the second line is using the '_conn' attribute on the LibvirtDriver *object instance* Now the new code is connection = libvirt_driver.LibvirtDriver('') jsonutils.to_primitive(libvirt_driver._conn, convert_instances=True) Notice how the second line is using the '_conn' attribute on the LibvirtDriver *class*. Predictably this causes the testcase to fail due to the '_conn' attribute not existing. Change-Id: Ie35718ea0c50648938effc53d67a110f280644d6 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions