@mock.patch.object(rest_client.KioxiaProvisioner, 'delete_snapshot')
def test_delete_snapshot_success(self, mock_delete_snapshot):
    testsnap = _stub_snapshot()
    mock_delete_snapshot.return_value = success_prov_response
    result = self.driver.delete_snapshot(testsnap)
    mock_delete_snapshot.assert_any_call(testsnap['id'])
    self.assertIsNone(result)
@mock.patch.object(rest_client.KioxiaProvisioner, 'delete_snapshot')
def test_delete_snapshot_success(self, mock_delete_snapshot):
    testsnap = _stub_snapshot()
    mock_delete_snapshot.return_value = success_prov_response
    result = self.driver.delete_snapshot(testsnap)
    mock_delete_snapshot.assert_any_call(testsnap['id'])
    self.assertIsNone(result)