tests/test-dispatch.py
changeset 14438 08bfec2ef031
parent 9031 3b76321aa0de
child 28404 06245740b408
--- a/tests/test-dispatch.py	Thu May 26 22:51:02 2011 +0800
+++ b/tests/test-dispatch.py	Thu May 26 00:44:11 2011 +0300
@@ -7,7 +7,8 @@
     Prints command and result value, but does not handle quoting.
     """
     print "running: %s" % (cmd,)
-    result = dispatch.dispatch(cmd.split())
+    req = dispatch.request(cmd.split())
+    result = dispatch.dispatch(req)
     print "result: %r" % (result,)