From 58b2ecced2491441c6dac739a7e50e8ab6be4d66 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 7 Mar 2012 11:24:18 -0500 Subject: Delete the test_preparing_xml_info libvirt test The test_preparing_xml_info test case is about to be intentionally broken by refactoring in following patches. It will be replaced by a new test at the end blueprint libvirt-xml-config-apis Change-Id: I2c5f19a071983e581ed5ed3bc8a84e14fbb6897b Signed-off-by: Daniel P. Berrange --- nova/tests/test_libvirt.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'nova') diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index 11aadc896..ce5009368 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -436,20 +436,6 @@ class LibvirtConnTestCase(test.TestCase): result = conn.get_volume_connector(volume) self.assertDictMatch(expected, result) - def test_preparing_xml_info(self): - conn = connection.LibvirtConnection(True) - instance_ref = db.instance_create(self.context, self.test_instance) - - result = conn._prepare_xml_info(instance_ref, - _fake_network_info(self.stubs, 1), - None, False) - self.assertTrue(len(result['nics']) == 1) - - result = conn._prepare_xml_info(instance_ref, - _fake_network_info(self.stubs, 2), - None, False) - self.assertTrue(len(result['nics']) == 2) - def test_xml_and_uri_no_ramdisk_no_kernel(self): instance_data = dict(self.test_instance) self._check_xml_and_uri(instance_data, -- cgit