[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/ftests - test_textwidget.py:1.4

Philipp von Weitershausen philikon at philikon.de
Fri Jan 16 08:38:49 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/form/ftests
In directory cvs.zope.org:/tmp/cvs-serv28581/app/browser/form/ftests

Modified Files:
	test_textwidget.py 
Log Message:
Changes to the schema package and the widget machinery (see
http://mail.zope.org/pipermail/zope3-dev/2004-January/009265.html):

- Widgets requiring key_type and/or value_type arguments will now check
  whether they implement IField. Before, anything was accepted although
  a field instance was implied. A key_type/value_type of None implies no
  validation of the key/value.

- Basic fields like TextLine, Int, Float, Date, and Datetime are not
  enumerated fields anymore. There are separate Enumerated* fields for
  that purpose now. Extra widgets for that functionality were added
  and configured.


=== Zope3/src/zope/app/browser/form/ftests/test_textwidget.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/form/ftests/test_textwidget.py:1.3	Sun Sep 21 13:30:39 2003
+++ Zope3/src/zope/app/browser/form/ftests/test_textwidget.py	Fri Jan 16 08:38:18 2004
@@ -159,7 +159,7 @@
         self.assert_(not missingInputErrorExists('s3', response.getBody()))
 
 
-    def test_inalid_value(self):
+    def test_invalid_value(self):
         self.getRootFolder()['test'] = TextLineTest()
         get_transaction().commit()
 




More information about the Zope3-Checkins mailing list