[Checkins] SVN: z3c.jsonrpc/trunk/src/z3c/jsonrpc/README.txt added test for z3c.json "reset proxy.error on a successfull call"

Adam Groszer agroszer at gmail.com
Tue Jan 8 05:22:42 EST 2008


Log message for revision 82743:
  added test for z3c.json "reset proxy.error on a successfull call"

Changed:
  U   z3c.jsonrpc/trunk/src/z3c/jsonrpc/README.txt

-=-
Modified: z3c.jsonrpc/trunk/src/z3c/jsonrpc/README.txt
===================================================================
--- z3c.jsonrpc/trunk/src/z3c/jsonrpc/README.txt	2008-01-08 10:21:13 UTC (rev 82742)
+++ z3c.jsonrpc/trunk/src/z3c/jsonrpc/README.txt	2008-01-08 10:22:41 UTC (rev 82743)
@@ -299,6 +299,12 @@
   >>> proxy.error
   u'ValueError: Something was wrong in server method.'
 
+The error property gets reset on the next successfull call:
+
+  >>> x = proxy.showId()
+  >>> proxy.error is None
+  True
+
 And now we force a ResponseError with a fake JSONReader. But first we
 need to replace our IJSONReader utility:
 



More information about the Checkins mailing list