'Ensure InvalidAggregateActionDelete is raised when aggregate is
changing.'

def test_remove_host_from_aggregate_invalid_changing_status(self):

    aggregate = self._aggregate_setup(aggr_state=pool_states.CHANGING)
    self.assertRaises(exception.InvalidAggregateActionDelete, self.conn.remove_from_aggregate, self.context, aggregate, 'fake_host')
