'Check association of Project with Endpoint.'

def check_endpoint_in_project(self, project_id, endpoint_id):

    (resp, body) = self.head((self.ep_filter + ('/projects/%s/endpoints/%s' % (project_id, endpoint_id))), None)
    self.expected_success(204, resp.status)
    return rest_client.ResponseBody(resp, body)
