def get_current_user(self, app_url, access_token): LOG.info("get_current_user") request_headers = build_request_headers(access_token) response = SESSION.get(f"{app_url}{self.user_url}/me", headers=request_headers) return response
def get_all_comments(self, app_url, access_token): LOG.info("get_all_comments") request_headers = build_request_headers(access_token) response = SESSION.get( f"{app_url}{self.comment_url}", headers=request_headers) return response
def test_health(): LOG.info("test_health") response = SESSION.get(f"{APP_URL}/health") assert response.ok