'Test snapshot deletion throws exception if snapshot is busy.'

def test_delete_snapshot_isbusy_flag(self):

    snapshot = fake_snapshot.fake_db_snapshot()
    snapshot['metadata'] = {'is_busy': 'is_busy'}
    self.assertRaises(exception.SnapshotIsBusy, self.driver.delete_snapshot, snapshot)
