--- a/tests/test-hgweb-no-request-uri.t Fri Oct 12 18:20:17 2018 +0200
+++ b/tests/test-hgweb-no-request-uri.t Mon Oct 08 10:10:06 2018 +0900
@@ -18,12 +18,9 @@
> from __future__ import absolute_import
> import os
> import sys
- > from mercurial.hgweb import (
- > hgweb,
- > hgwebdir,
- > )
> from mercurial import (
> encoding,
+ > hgweb,
> util,
> )
> stringio = util.stringio
@@ -65,22 +62,22 @@
> output = stringio()
> env['PATH_INFO'] = '/'
> env['QUERY_STRING'] = 'style=atom'
- > process(hgweb(b'.', name = b'repo'))
+ > process(hgweb.hgweb(b'.', name = b'repo'))
>
> output = stringio()
> env['PATH_INFO'] = '/file/tip/'
> env['QUERY_STRING'] = 'style=raw'
- > process(hgweb(b'.', name = b'repo'))
+ > process(hgweb.hgweb(b'.', name = b'repo'))
>
> output = stringio()
> env['PATH_INFO'] = '/'
> env['QUERY_STRING'] = 'style=raw'
- > process(hgwebdir({b'repo': b'.'}))
+ > process(hgweb.hgwebdir({b'repo': b'.'}))
>
> output = stringio()
> env['PATH_INFO'] = '/repo/file/tip/'
> env['QUERY_STRING'] = 'style=raw'
- > process(hgwebdir({b'repo': b'.'}))
+ > process(hgweb.hgwebdir({b'repo': b'.'}))
> EOF
$ "$PYTHON" request.py
---- STATUS