<s> import logging <EOL> import os <EOL> from google . appengine . api . logservice import logservice <EOL> import pytest <EOL> @ pytest . fixture <EOL> def request_id ( ) : <EOL> return os . environ . get ( '<STR_LIT>' ) <EOL> @ pytest . mark . xfail <EOL> def do_not_run_test_logservice_fetch ( request_id ) : <EOL> """<STR_LIT>""" <EOL> logging . info ( '<STR_LIT>' ) <EOL> found_log = False <EOL> for req_log in logservice . fetch ( request_ids = [ request_id ] , <EOL> include_app_logs = True ) : <EOL> for app_log in req_log . app_logs : <EOL> if app_log . message == '<STR_LIT>' : <EOL> found_log = True <EOL> assert found_log </s>
