Skip to content

Commit ceb8279

Browse files
committed
Remove duplicate unit test
This was added in error in 1ed3f8f. Change-Id: I94570d254f9dcdd716c5eb33672a7c1d1a738f6a
1 parent e7cd63c commit ceb8279

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

nova/tests/unit/virt/ironic/test_driver.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2740,24 +2740,6 @@ def test__cleanup_deploy_no_remove_ii(self, mock_call, mock_vol,
27402740
mock_stop_fw.assert_called_once_with(instance, None)
27412741
self.assertFalse(mock_call.called)
27422742

2743-
@mock.patch.object(ironic_driver.IronicDriver, '_stop_firewall')
2744-
@mock.patch.object(ironic_driver.IronicDriver, '_unplug_vifs')
2745-
@mock.patch.object(ironic_driver.IronicDriver,
2746-
'_cleanup_volume_target_info')
2747-
@mock.patch.object(cw.IronicClientWrapper, 'call')
2748-
def test__cleanup_deploy_no_remove_ii(self, mock_call, mock_vol,
2749-
mock_unvif, mock_stop_fw):
2750-
# TODO(TheJulia): This REALLY should be updated to cover all of the
2751-
# calls that take place.
2752-
node = ironic_utils.get_test_node(driver='fake')
2753-
instance = fake_instance.fake_instance_obj(self.ctx,
2754-
node=node.uuid)
2755-
self.driver._cleanup_deploy(node, instance, remove_instance_info=False)
2756-
mock_vol.assert_called_once_with(instance)
2757-
mock_unvif.assert_called_once_with(node, instance, None)
2758-
mock_stop_fw.assert_called_once_with(instance, None)
2759-
self.assertFalse(mock_call.called)
2760-
27612743

27622744
class IronicDriverSyncTestCase(IronicDriverTestCase):
27632745

0 commit comments

Comments
 (0)