tests/test-wireproto.py
changeset 33767 b47fe9733d76
parent 28861 86db5cb55d46
child 33806 dedab036215d
--- a/tests/test-wireproto.py	Wed Aug 09 23:29:30 2017 -0700
+++ b/tests/test-wireproto.py	Wed Aug 09 23:35:20 2017 -0700
@@ -55,7 +55,7 @@
 clt = clientpeer(srv)
 
 print(clt.greet("Foobar"))
-b = clt.batch()
-fs = [b.greet(s) for s in ["Fo, =;:<o", "Bar"]]
+b = clt.iterbatch()
+map(b.greet, ('Fo, =;:<o', 'Bar'))
 b.submit()
-print([f.value for f in fs])
+print([r for r in b.results()])