def test_list_endpoints_associated_with_valid_project(self):
    'GET /OS-EP-FILTER/projects/{project_id}/endpoints\n\n        Valid project and endpoint id test case.\n\n        '
    self.put(self.default_request_url)
    resource_url = ('/OS-EP-FILTER/projects/%(project_id)s/endpoints' % {'project_id': self.default_domain_project_id})
    r = self.get(resource_url)
    self.assertValidEndpointListResponse(r, self.endpoint, resource_url=resource_url)
GET /OS-EP-FILTER/projects/{project_id}/endpoints

Valid project and endpoint id test case.
def test_list_endpoints_associated_with_valid_project(self):
    'GET /OS-EP-FILTER/projects/{project_id}/endpoints\n\n        Valid project and endpoint id test case.\n\n        '
    self.put(self.default_request_url)
    resource_url = ('/OS-EP-FILTER/projects/%(project_id)s/endpoints' % {'project_id': self.default_domain_project_id})
    r = self.get(resource_url)
    self.assertValidEndpointListResponse(r, self.endpoint, resource_url=resource_url)