--- a/tests/test-wireproto.py Wed Mar 28 10:12:02 2018 -0700
+++ b/tests/test-wireproto.py Wed Mar 28 10:40:41 2018 -0700
@@ -13,6 +13,8 @@
class proto(object):
def __init__(self, args):
self.args = args
+ self.name = 'dummyproto'
+
def getargs(self, spec):
args = self.args
args.setdefault(b'*', {})
@@ -22,6 +24,11 @@
def checkperm(self, perm):
pass
+wireprototypes.TRANSPORTS['dummyproto'] = {
+ 'transport': 'dummy',
+ 'version': 1,
+}
+
class clientpeer(wireproto.wirepeer):
def __init__(self, serverrepo, ui):
self.serverrepo = serverrepo