tests/test-hgweb-no-path-info
changeset 6785 4879468fa28f
parent 6459 8189e03adb44
child 6796 943f066c0d58
--- a/tests/test-hgweb-no-path-info	Sun Jun 29 15:23:09 2008 +0200
+++ b/tests/test-hgweb-no-path-info	Sun Jun 29 22:36:18 2008 +0200
@@ -43,15 +43,17 @@
 
 output = StringIO()
 env['QUERY_STRING'] = 'style=atom'
-hgweb('.', name = 'repo')(env, startrsp)
-print output.getvalue()
+content = hgweb('.', name = 'repo')(env, startrsp)
+sys.stdout.write(output.getvalue())
+sys.stdout.write(''.join(content))
 print '---- ERRORS'
 print errors.getvalue()
 
 output = StringIO()
 env['QUERY_STRING'] = 'style=raw'
-hgwebdir({'repo': '.'})(env, startrsp)
-print output.getvalue()
+content = hgwebdir({'repo': '.'})(env, startrsp)
+sys.stdout.write(output.getvalue())
+sys.stdout.write(''.join(content))
 print '---- ERRORS'
 print errors.getvalue()
 EOF