'Test deleting a volume that is in migration.'

def _test_delete_volume_in_migration(self, migration_status):

    volume = tests_utils.create_volume(self.context, host=CONF.host, migration_status=migration_status)
    self.volume.delete_volume(self.context, volume=volume)
    self.assertRaises(exception.VolumeNotFound, volume.refresh)
