Mercurial > hg
diff tests/test-sshserver.py @ 37785:b4d85bc122bd
wireproto: rename wireproto to wireprotov1server (API)
We have wireprotov2server, wireprotov1peer, and wireprotov2peer.
wireproto only contains server functionality. So it makes sense to
rename it to wireprotov1server so the naming aligns with everything
else.
Differential Revision: https://phab.mercurial-scm.org/D3400
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 16 Apr 2018 22:21:54 -0700 |
parents | a8a902d7176e |
children | cf8677cd7286 |
line wrap: on
line diff
--- a/tests/test-sshserver.py Mon Apr 16 22:10:02 2018 -0700 +++ b/tests/test-sshserver.py Mon Apr 16 22:21:54 2018 -0700 @@ -6,8 +6,8 @@ import silenttestrunner from mercurial import ( - wireproto, wireprotoserver, + wireprotov1server, ) from mercurial.utils import ( @@ -29,7 +29,7 @@ proto = wireprotoserver.sshv1protocolhandler(server._ui, server._fin, server._fout) - _func, spec = wireproto.commands[cmd] + _func, spec = wireprotov1server.commands[cmd] self.assertEqual(proto.getargs(spec), expected) def mockserver(inbytes):