diff tests/test-hgweb-non-interactive @ 12181:045c9e8db0d8

tests: fix test output for test-hgweb-no* tests
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 08 Sep 2010 15:19:35 +0200
parents 45e654e10e1b
children f64b416b0ac8
line wrap: on
line diff
--- a/tests/test-hgweb-non-interactive	Wed Sep 08 15:18:33 2010 +0200
+++ b/tests/test-hgweb-non-interactive	Wed Sep 08 15:19:35 2010 +0200
@@ -36,11 +36,12 @@
 input = StringIO()
 output = StringIO()
 
-def startrsp(headers, data):
+def startrsp(status, headers):
+	print '---- STATUS'
+	print status
 	print '---- HEADERS'
 	print headers
 	print '---- DATA'
-	print data
 	return output.write
 
 env = {