summaryrefslogtreecommitdiff
path: root/tests/test-wireproto.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-wireproto.py')
-rw-r--r--tests/test-wireproto.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-wireproto.py b/tests/test-wireproto.py
index 82f7f0b..ab6db19 100644
--- a/tests/test-wireproto.py
+++ b/tests/test-wireproto.py
@@ -9,7 +9,7 @@ class proto(object):
names = spec.split()
return [args[n] for n in names]
-class clientpeer(wireproto.wirepeer):
+class clientrepo(wireproto.wirerepository):
def __init__(self, serverrepo):
self.serverrepo = serverrepo
def _call(self, cmd, **args):
@@ -36,7 +36,7 @@ def greet(repo, proto, name):
wireproto.commands['greet'] = (greet, 'name',)
srv = serverrepo()
-clt = clientpeer(srv)
+clt = clientrepo(srv)
print clt.greet("Foobar")
b = clt.batch()