[Zope3-checkins] CVS: Zope3/src/zope/app/form/browser -
widget.py:1.6
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Apr 11 06:35:11 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/form/browser
In directory cvs.zope.org:/tmp/cvs-serv4471/src/zope/app/form/browser
Modified Files:
widget.py
Log Message:
Updated tests to reflect API changes.
=== Zope3/src/zope/app/form/browser/widget.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/form/browser/widget.py:1.5 Fri Mar 19 15:26:25 2004
+++ Zope3/src/zope/app/form/browser/widget.py Sun Apr 11 06:34:40 2004
@@ -90,9 +90,9 @@
... widget.getInputValue()
... except WidgetInputError:
... print widget._error.errors
- (u'Constraint not satisfied', u'bye world')
+ bye world
>>> widget.error()
- u'Constraint not satisfied'
+ u'bye world'
>>> widget._error = None # clean up for next round of tests
>>> widget.setPrefix('test')
More information about the Zope3-Checkins
mailing list