'Failure case for delete_volume one node in data plane.'

@mock.patch('cinder.volume.drivers.veritas.vrtshyperscale.HyperScaleDriver._get_volume_metadata_value')
@mock.patch('cinder.volume.drivers.veritas.utils.message_data_plane')
def test_delete_volume_no_replica_failure(self, mock_mdp, mock_gvmv):

    mock_gvmv.side_effect = None
    self.driver.delete_volume(self.volume)
    mock_mdp.side_effect = exception.UnableToProcessHyperScaleCmdOutput(cmd_out='mock    error')
    self.assertRaises(exception.VolumeIsBusy, self.driver.delete_volume, self.volume)
