py3: add b'' prefixes in tests/test-hgweb-no-request-uri.t
authorPulkit Goyal <pulkit@yandex-team.ru>
Sun, 16 Sep 2018 20:58:51 +0530
changeset 39660 a12916cfef9e
parent 39659 19f701387ed5
child 39661 8bfbb25859f1
py3: add b'' prefixes in tests/test-hgweb-no-request-uri.t # skip-blame because just b'' prefixes. Differential Revision: https://phab.mercurial-scm.org/D4611
tests/test-hgweb-no-request-uri.t
--- a/tests/test-hgweb-no-request-uri.t	Sun Sep 16 20:49:37 2018 +0530
+++ b/tests/test-hgweb-no-request-uri.t	Sun Sep 16 20:58:51 2018 +0530
@@ -64,22 +64,22 @@
   > output = stringio()
   > env['PATH_INFO'] = '/'
   > env['QUERY_STRING'] = 'style=atom'
-  > process(hgweb('.', name = 'repo'))
+  > process(hgweb(b'.', name = b'repo'))
   > 
   > output = stringio()
   > env['PATH_INFO'] = '/file/tip/'
   > env['QUERY_STRING'] = 'style=raw'
-  > process(hgweb('.', name = 'repo'))
+  > process(hgweb(b'.', name = b'repo'))
   > 
   > output = stringio()
   > env['PATH_INFO'] = '/'
   > env['QUERY_STRING'] = 'style=raw'
-  > process(hgwebdir({'repo': '.'}))
+  > process(hgwebdir({'repo': b'.'}))
   > 
   > output = stringio()
   > env['PATH_INFO'] = '/repo/file/tip/'
   > env['QUERY_STRING'] = 'style=raw'
-  > process(hgwebdir({'repo': '.'}))
+  > process(hgwebdir({'repo': b'.'}))
   > EOF
   $ $PYTHON request.py
   ---- STATUS