Mercurial > public > mercurial-scm > hg
diff tests/test-sshserver.py @ 35859:1bf5263fe5cc
wireprotoserver: move sshserver into module (API)
Let's welcome the SSH protocol handler to our new central home
for protocol handlers.
.. api::
Content from mercurial.sshserver has been moved into
mercurial.wireprotoserver.
Differential Revision: https://phab.mercurial-scm.org/D1968
# no-check-commit because we're moving a foo_bar function
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 31 Jan 2018 10:48:35 -0800 |
parents | 7764ff13318e |
children | bf676267f64f |
line wrap: on
line diff
--- a/tests/test-sshserver.py Wed Jan 31 11:13:11 2018 -0800 +++ b/tests/test-sshserver.py Wed Jan 31 10:48:35 2018 -0800 @@ -6,9 +6,9 @@ import silenttestrunner from mercurial import ( - sshserver, util, wireproto, + wireprotoserver, ) class SSHServerGetArgsTests(unittest.TestCase): @@ -29,7 +29,7 @@ def mockserver(inbytes): ui = mockui(inbytes) repo = mockrepo(ui) - return sshserver.sshserver(ui, repo) + return wireprotoserver.sshserver(ui, repo) class mockrepo(object): def __init__(self, ui):