Author: jvloothuis
Date: Sun Dec 30 12:12:49 2007
New Revision: 50190

Modified:
   kukit/kss.zope/trunk/kss/zope/actionwrapper.py
Log:

Fixed the test by checking for the XML output instead of a list based output


Modified: kukit/kss.zope/trunk/kss/zope/actionwrapper.py
==============================================================================
--- kukit/kss.zope/trunk/kss/zope/actionwrapper.py      (original)
+++ kukit/kss.zope/trunk/kss/zope/actionwrapper.py      Sun Dec 30 12:12:49 2007
@@ -185,7 +185,7 @@
         >>> hasattr(v, 'error')
         True
         >>> v(1, b=2)
-        [{'selectorType': None, 'params': {'message': u'The error'}, 'name': 
'error', 'selector': None}]
+        '<?xml version="1.0" ?>\n<kukit 
xmlns="http://www.kukit.org/commands/1.0";><commands>\n<command 
name="error"><param name="message">The 
error</param></command></commands></kukit>'
 
     In addition, to be publishable, the docstring must exist. Let's
     see if the wrapper actually does this. If the method had a docstring,
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to