def test_list_projects_associated_with_endpoint(self):
    'GET /OS-EP-FILTER/endpoints/{endpoint_id}/projects\n\n        Valid endpoint-project association test case.\n\n        '
    self.put(self.default_request_url)
    resource_url = ('/OS-EP-FILTER/endpoints/%(endpoint_id)s/projects' % {'endpoint_id': self.endpoint_id})
    r = self.get(resource_url)
    self.assertValidProjectListResponse(r, self.default_domain_project, resource_url=resource_url)
GET /OS-EP-FILTER/endpoints/{endpoint_id}/projects

Valid endpoint-project association test case.
def test_list_projects_associated_with_endpoint(self):
    'GET /OS-EP-FILTER/endpoints/{endpoint_id}/projects\n\n        Valid endpoint-project association test case.\n\n        '
    self.put(self.default_request_url)
    resource_url = ('/OS-EP-FILTER/endpoints/%(endpoint_id)s/projects' % {'endpoint_id': self.endpoint_id})
    r = self.get(resource_url)
    self.assertValidProjectListResponse(r, self.default_domain_project, resource_url=resource_url)