[Checkins] SVN: z3c.form/trunk/ Adapted tests to `zope.schema` 3.6.0.

Michael Howitz mh at gocept.com
Mon Dec 28 05:39:14 EST 2009


Log message for revision 107200:
  Adapted tests to `zope.schema` 3.6.0.
  

Changed:
  U   z3c.form/trunk/CHANGES.txt
  U   z3c.form/trunk/setup.py
  U   z3c.form/trunk/src/z3c/form/validator.txt

-=-
Modified: z3c.form/trunk/CHANGES.txt
===================================================================
--- z3c.form/trunk/CHANGES.txt	2009-12-28 10:32:35 UTC (rev 107199)
+++ z3c.form/trunk/CHANGES.txt	2009-12-28 10:39:14 UTC (rev 107200)
@@ -7,7 +7,9 @@
 
 - Deprecated: Removed zpkg slug and ZCML slugs.
 
+- Adapted tests to `zope.schema` 3.6.0.
 
+
 2.2.0 (2009-10-27)
 ------------------
 

Modified: z3c.form/trunk/setup.py
===================================================================
--- z3c.form/trunk/setup.py	2009-12-28 10:32:35 UTC (rev 107199)
+++ z3c.form/trunk/setup.py	2009-12-28 10:39:14 UTC (rev 107200)
@@ -1,6 +1,6 @@
 ##############################################################################
 #
-# Copyright (c) 2007 Zope Foundation and Contributors.
+# Copyright (c) 2007-2009 Zope Foundation and Contributors.
 # All Rights Reserved.
 #
 # This software is subject to the provisions of the Zope Public License,
@@ -115,7 +115,7 @@
         'zope.location',
         'zope.pagetemplate',
         'zope.publisher',
-        'zope.schema',
+        'zope.schema >= 3.6.0',
         'zope.security',
         # Since the required package depends on the versions of the other
         # packages, so not require it directly.

Modified: z3c.form/trunk/src/z3c/form/validator.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/validator.txt	2009-12-28 10:32:35 UTC (rev 107199)
+++ z3c.form/trunk/src/z3c/form/validator.txt	2009-12-28 10:39:14 UTC (rev 107200)
@@ -219,7 +219,7 @@
   ...     None, None, None, IPhoto['data'], None)
   >>> simple_data.validate(interfaces.NOT_CHANGED)
   Traceback (most recent call last):
-  RequiredMissing
+  RequiredMissing: data
 
 Widget which ignores context
 ++++++++++++++++++++++++++++
@@ -239,7 +239,7 @@
   ...     None, None, None, IPhoto['data'], widget)
   >>> simple_data.validate(interfaces.NOT_CHANGED)
   Traceback (most recent call last):
-  RequiredMissing
+  RequiredMissing: data
 
 Look up value from default adapter
 ++++++++++++++++++++++++++++++++++
@@ -282,7 +282,7 @@
   ...     photo, None, None, IPhoto['data'], widget)
   >>> simple_data.validate(interfaces.NOT_CHANGED)
   Traceback (most recent call last):
-  RequiredMissing
+  RequiredMissing: data
 
 After setting the value validation is successful:
 



More information about the checkins mailing list