'List Endpoints associated with Project.'

def list_endpoints_in_project(self, project_id):

    (resp, body) = self.get((self.ep_filter + ('/projects/%s/endpoints' % project_id)))
    self.expected_success(200, resp.status)
    body = json.loads(body)
    return rest_client.ResponseBody(resp, body)
