'Get back only enabled endpoints when get the v2 catalog.'

def test_get_catalog_endpoint_disabled(self):

    (service_ref, enabled_endpoint_ref, dummy_disabled_endpoint_ref) = self._create_endpoints()
    user_id = uuid.uuid4().hex
    project_id = uuid.uuid4().hex
    catalog = self.catalog_api.get_catalog(user_id, project_id)
    exp_entry = {'id': enabled_endpoint_ref['id'], 'name': service_ref['name'], 'publicURL': enabled_endpoint_ref['url']}
    region = enabled_endpoint_ref['region_id']
    self.assertEqual(exp_entry, catalog[region][service_ref['type']])
