diff tests/test-dispatch.py @ 14438:08bfec2ef031

dispatch: wrap dispatch related information in a request class currently only stores the arguments.
author Idan Kamara <idankk86@gmail.com>
date Thu, 26 May 2011 00:44:11 +0300
parents 3b76321aa0de
children 06245740b408
line wrap: on
line diff
--- 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,)