@@ -2740,24 +2740,6 @@ def test__cleanup_deploy_no_remove_ii(self, mock_call, mock_vol,
2740
2740
mock_stop_fw .assert_called_once_with (instance , None )
2741
2741
self .assertFalse (mock_call .called )
2742
2742
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
-
2761
2743
2762
2744
class IronicDriverSyncTestCase (IronicDriverTestCase ):
2763
2745
0 commit comments