Mercurial > public > mercurial-scm > hg-stable
diff tests/test-http-permissions.t @ 39449:c3491d3f8984
py3: add more missing b'' prefixes in test files
# skip-blame because just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D4458
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Tue, 04 Sep 2018 17:33:59 +0300 |
parents | b4b7427b5786 |
children | ebee234d952a |
line wrap: on
line diff
--- a/tests/test-http-permissions.t Tue Sep 04 17:33:22 2018 +0300 +++ b/tests/test-http-permissions.t Tue Sep 04 17:33:59 2018 +0300 @@ -13,16 +13,16 @@ > return super(testenvhgweb, self).__call__(env, respond) > hgweb_mod.hgweb = testenvhgweb > - > @wireprotov1server.wireprotocommand('customreadnoperm') + > @wireprotov1server.wireprotocommand(b'customreadnoperm') > def customread(repo, proto): > return b'read-only command no defined permissions\n' - > @wireprotov1server.wireprotocommand('customwritenoperm') + > @wireprotov1server.wireprotocommand(b'customwritenoperm') > def customwritenoperm(repo, proto): > return b'write command no defined permissions\n' - > @wireprotov1server.wireprotocommand('customreadwithperm', permission='pull') + > @wireprotov1server.wireprotocommand(b'customreadwithperm', permission=b'pull') > def customreadwithperm(repo, proto): > return b'read-only command w/ defined permissions\n' - > @wireprotov1server.wireprotocommand('customwritewithperm', permission='push') + > @wireprotov1server.wireprotocommand(b'customwritewithperm', permission=b'push') > def customwritewithperm(repo, proto): > return b'write command w/ defined permissions\n' > EOF