[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Forms/Views/Browser/tests - SchemaTestObject.py:1.11

Jim Fulton jim@zope.com
Wed, 18 Sep 2002 11:06:20 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv23268/lib/python/Zope/App/Forms/Views/Browser/tests

Modified Files:
	SchemaTestObject.py 
Log Message:
Updated uses of Boolean fields to use True and False (rather than 1 and 0).

=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/SchemaTestObject.py 1.10 => 1.11 ===
--- Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/SchemaTestObject.py:1.10	Wed Sep 11 18:08:34 2002
+++ Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/SchemaTestObject.py	Wed Sep 18 11:05:50 2002
@@ -48,22 +48,22 @@
 
     id = Zope.Schema.Int(
         title=u"Id",
-        required=1)
+        required=True)
     
     title = Zope.Schema.Bytes(
         title=u"Title",
-        required=0)
+        required=False)
     
     data = Zope.Schema.Bytes(
         title=u"Data",
         description=u"Data stored by the object",
-        required=0)
+        required=False)
     
     creator = Email(
         title=u"Creator",
         description=u"Email of the creator of the content object",
         default="foo@bar.com",
-        required=1)
+        required=True)
     
     
 class TestObject(object):