[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Forms/Views/Browser/tests - SchemaTestObject.py:1.6
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 25 Jul 2002 18:10:01 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv32308/Zope/App/Forms/Views/Browser/tests
Modified Files:
SchemaTestObject.py
Log Message:
Got rid of separate Schema class; just use interfaces now. Updated
Forms and content objects to reflect this change.
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/SchemaTestObject.py 1.5 => 1.6 ===
"""
$Id$
"""
+from Interface import Interface
import Schema
from Schema.Converter import StrToIntConverter
@@ -42,7 +43,7 @@
pass
-class STestObject(Schema.Schema):
+class STestObject(Interface):
"""A simple Schema."""
id = Schema.Int(