def setUp(self): """Set up required for the slot allocation tests. """ entities = [] for i in range(5): entity = TestModel(key_name='test/%d' % i, value=i) entity.put() entities.append(entity) self.logic = TestModelLogic() self.entities = entities