'Test volume can\'t be deleted in invalid stats.'

def _test_cannot_delete_volume(self, status):

    volume = tests_utils.create_volume(self.context, CONF.host, status=status)
    self.assertRaises(exception.InvalidVolume, self.volume_api.delete, self.context, volume)
    self.volume.delete_volume(self.context, volume)
