[Checkins] SVN: z3ext.layoutform/trunk/src/z3ext/layoutform/tests/form.txt update tests
Nikolay Kim
fafhrd91 at gmail.com
Wed May 13 11:00:43 EDT 2009
Log message for revision 99891:
update tests
Changed:
U z3ext.layoutform/trunk/src/z3ext/layoutform/tests/form.txt
-=-
Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/tests/form.txt
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/tests/form.txt 2009-05-13 10:35:01 UTC (rev 99890)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/tests/form.txt 2009-05-13 15:00:42 UTC (rev 99891)
@@ -114,7 +114,7 @@
... pass
>>> form.groups
- []
+ ()
>>> component.getSiteManager().registerAdapter(
... PersonEducation, (interface.Interface, PersonForm, interface.Interface),
@@ -123,7 +123,7 @@
>>> form.update()
>>> print form.groups
- [<PersonEducation ...>]
+ (<PersonEducation ...>,)
>>> print form.render()
<div class="z-form z-form-standard"><form action="http://127.0.0.1" method="post"
@@ -190,7 +190,7 @@
... return {}
>>> form.subforms
- []
+ ()
>>> component.getSiteManager().registerAdapter(
... PersonInfo, (interface.Interface, PersonForm, interface.Interface),
@@ -199,7 +199,7 @@
>>> form.update()
>>> print form.subforms
- [<PersonInfo ...>]
+ (<PersonInfo ...>,)
>>> print form.render()
<div class="z-form z-form-standard">...
@@ -294,5 +294,5 @@
>>> form.update()
>>> form.forms
- [<ItemForm object ...>]
+ (<ItemForm object ...>,)
More information about the Checkins
mailing list