'Test deleting a volume that\'s tied to a group fails.'

def test_delete_volume_in_group(self):

    volume_params = {'status': 'available', 'group_id': fake.GROUP_ID}
    volume = tests_utils.create_volume(self.context, **volume_params)
    self.assertRaises(exception.InvalidVolume, self.volume_api.delete, self.context, volume)
