@mock.patch.object(rest_client.KioxiaProvisioner, 'delete_volume')
def test_delete_volume_success(self, mock_delete_volume):
    testvol = _stub_volume()
    mock_delete_volume.return_value = success_prov_response
    result = self.driver.delete_volume(testvol)
    mock_delete_volume.assert_any_call(testvol['id'])
    self.assertIsNone(result)
@mock.patch.object(rest_client.KioxiaProvisioner, 'delete_volume')
def test_delete_volume_success(self, mock_delete_volume):
    testvol = _stub_volume()
    mock_delete_volume.return_value = success_prov_response
    result = self.driver.delete_volume(testvol)
    mock_delete_volume.assert_any_call(testvol['id'])
    self.assertIsNone(result)