tests/test-hgweb-no-request-uri.t
changeset 18646 c6a81e54c209
parent 16913 f2719b387380
child 21056 d70703954a2a
equal deleted inserted replaced
18645:76ff3a715cf2 18646:c6a81e54c209
    47   > 
    47   > 
    48   > def process(app):
    48   > def process(app):
    49   >     content = app(env, startrsp)
    49   >     content = app(env, startrsp)
    50   >     sys.stdout.write(output.getvalue())
    50   >     sys.stdout.write(output.getvalue())
    51   >     sys.stdout.write(''.join(content))
    51   >     sys.stdout.write(''.join(content))
       
    52   >     getattr(content, 'close', lambda : None)()
    52   >     print '---- ERRORS'
    53   >     print '---- ERRORS'
    53   >     print errors.getvalue()
    54   >     print errors.getvalue()
    54   > 
    55   > 
    55   > output = StringIO()
    56   > output = StringIO()
    56   > env['PATH_INFO'] = '/'
    57   > env['PATH_INFO'] = '/'