--- a/tests/test-non-interactive-wsgi Wed Nov 28 13:58:31 2007 -0800
+++ b/tests/test-non-interactive-wsgi Fri Nov 30 18:23:18 2007 +0100
@@ -11,7 +11,6 @@
cat > request.py <<EOF
from mercurial import dispatch
from mercurial.hgweb.hgweb_mod import hgweb
-from mercurial.hgweb.request import _wsgirequest
from mercurial.ui import ui
from mercurial import hg
from StringIO import StringIO
@@ -62,7 +61,7 @@
'SERVER_PROTOCOL': 'HTTP/1.0'
}
-_wsgirequest(hgweb('.'), env, startrsp)
+hgweb('.')(env, startrsp)
print '---- ERRORS'
print errors.getvalue()
EOF