[Zope3-checkins] CVS: Zope3/src/zope/app/utilities/tests -
test_schemautility.py:1.1.2.1
Sidnei da Silva
sidnei at x3ng.com.br
Tue Aug 12 14:39:34 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/utilities/tests
In directory cvs.zope.org:/tmp/cvs-serv32308/src/zope/app/utilities/tests
Modified Files:
Tag: dreamcatcher-ttwschema-branch
test_schemautility.py
Log Message:
A bit more progress on setting field's schema to the right types. More fixes on ZCML registration/security assertions of basic fields types.
=== Zope3/src/zope/app/utilities/tests/test_schemautility.py 1.1 => 1.1.2.1 ===
--- Zope3/src/zope/app/utilities/tests/test_schemautility.py:1.1 Thu Aug 7 16:42:00 2003
+++ Zope3/src/zope/app/utilities/tests/test_schemautility.py Tue Aug 12 13:38:59 2003
@@ -32,6 +32,15 @@
[('alpha', self.alpha)],
getFieldsInOrder(s))
+ def test_addFieldInsertsAtEnd(self):
+ s = self.s
+ s.addField('alpha', self.alpha)
+ beta = Text(title=u"Beta")
+ s.addField('beta', beta)
+ self.assertEquals(
+ [('alpha', self.alpha),('beta', beta)],
+ getFieldsInOrder(s))
+
def test_removeField(self):
s = self.s
s.addField('alpha', self.alpha)
More information about the Zope3-Checkins
mailing list