@mock.patch.object(rest_client.KioxiaProvisioner, 'delete_snapshot')
def test_delete_snapshot_exception(self, mock_delete_snapshot):
    testsnap = _stub_snapshot()
    mock_delete_snapshot.side_effect = Exception()
    self.assertRaises(exception.VolumeBackendAPIException, self.driver.delete_snapshot, testsnap)
@mock.patch.object(rest_client.KioxiaProvisioner, 'delete_snapshot')
def test_delete_snapshot_exception(self, mock_delete_snapshot):
    testsnap = _stub_snapshot()
    mock_delete_snapshot.side_effect = Exception()
    self.assertRaises(exception.VolumeBackendAPIException, self.driver.delete_snapshot, testsnap)