#NEWLINE# def test_log_query_string( self ) : #NEWLINE# #INDENT# app = proxy_logging . ProxyLoggingMiddleware ( FakeApp ( ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# app . access_logger = FakeLogger ( ) #NEWLINE# req = Request . blank ( '/' , environ = { #NEWLINE# #INDENT# 'REQUEST_METHOD' : 'GET' , #NEWLINE# 'QUERY_STRING' : 'x=3' , #NEWLINE# #UNINDENT# } ) #NEWLINE# resp = app ( req . environ , start_response ) #NEWLINE# [ x for x in resp ] #NEWLINE# log_parts = self . _log_parts ( app ) #NEWLINE# self . assertEqual ( unquote ( log_parts [ 4 ] ) , '/?x=3' )