Files
python-ganttclient/nova/tests
Daniel P. Berrange bb8f55ac46 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>
2012-06-28 11:36:14 +01:00
..
2012-06-19 01:05:37 +08:00
2012-06-20 12:57:21 -04:00
2012-06-27 14:31:35 -07:00
2012-06-27 14:31:35 -07:00
2012-06-12 23:48:09 +04:00
2012-06-19 01:05:37 +08:00
2012-06-20 15:24:26 -05:00
2012-04-30 15:10:19 -04:00
2012-06-12 23:48:09 +04:00
2012-06-26 10:46:42 +02:00
2012-06-19 01:05:37 +08:00
2012-06-19 01:05:37 +08:00
2011-08-04 23:01:22 -05:00
2011-07-23 16:57:05 +09:00
2012-06-20 12:57:21 -04:00
2012-06-27 14:31:35 -07:00