'Delete snapshot by the given client'

def delete_snapshot(self, snapshot_id, snapshots_client=None):

    if (snapshots_client is None):
        snapshots_client = self.snapshots_client
    snapshots_client.delete_snapshot(snapshot_id)
    snapshots_client.wait_for_resource_deletion(snapshot_id)
    if (snapshot_id in self.snapshots):
        self.snapshots.remove(snapshot_id)
