'Setup for Identity Limit Test Cases.'

def setUp(self):

    super(IdentityTestListLimitCase, self).setUp()
    self.ENTITY_TYPES = ['user', 'group', 'project']
    self.entity_lists = {}
    for entity in self.ENTITY_TYPES:
        self.entity_lists[entity] = self._create_test_data(entity, 10)
        self.addCleanup(self.clean_up_entity, entity)
    self.service_list = []
    self.addCleanup(self.clean_up_service)
    for _ in range(10):
        new_entity = unit.new_service_ref()
        service = self.catalog_api.create_service(new_entity['id'], new_entity)
        self.service_list.append(service)
    self.policy_list = []
    self.addCleanup(self.clean_up_policy)
    for _ in range(10):
        new_entity = unit.new_policy_ref()
        policy = self.policy_api.create_policy(new_entity['id'], new_entity)
        self.policy_list.append(policy)
