[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Forms/Views/Browser/tests - SchemaTestObject.py:1.10
Jim Fulton
jim@zope.com
Wed, 11 Sep 2002 18:09:05 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv9283/lib/python/Zope/App/Forms/Views/Browser/tests
Modified Files:
SchemaTestObject.py
Log Message:
Updated to work with new schemas.
In particular, changed field titles and desciptions to unicode.
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/SchemaTestObject.py 1.9 => 1.10 ===
--- Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/SchemaTestObject.py:1.9 Sat Sep 7 12:18:48 2002
+++ Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/SchemaTestObject.py Wed Sep 11 18:08:34 2002
@@ -47,21 +47,21 @@
"""A simple Schema."""
id = Zope.Schema.Int(
- title="Id",
+ title=u"Id",
required=1)
title = Zope.Schema.Bytes(
- title="Title",
+ title=u"Title",
required=0)
data = Zope.Schema.Bytes(
- title="Data",
- description="Data stored by the object",
+ title=u"Data",
+ description=u"Data stored by the object",
required=0)
creator = Email(
- title="Creator",
- description="Email of the creator of the content object",
+ title=u"Creator",
+ description=u"Email of the creator of the content object",
default="foo@bar.com",
required=1)