tests/test-wireproto.py
changeset 17192 1ac628cd7113
parent 14765 08ef6b5f3715
child 18278 753acee7d6dd
--- a/tests/test-wireproto.py	Fri Jul 13 21:46:53 2012 +0200
+++ b/tests/test-wireproto.py	Fri Jul 13 21:47:06 2012 +0200
@@ -9,7 +9,7 @@
         names = spec.split()
         return [args[n] for n in names]
 
-class clientrepo(wireproto.wirerepository):
+class clientpeer(wireproto.wirepeer):
     def __init__(self, serverrepo):
         self.serverrepo = serverrepo
     def _call(self, cmd, **args):
@@ -36,7 +36,7 @@
 wireproto.commands['greet'] = (greet, 'name',)
 
 srv = serverrepo()
-clt = clientrepo(srv)
+clt = clientpeer(srv)
 
 print clt.greet("Foobar")
 b = clt.batch()