[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container/tests -
test_adding.py:1.19
Philipp von Weitershausen
philikon at philikon.de
Mon Dec 15 07:45:06 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/container/tests
In directory cvs.zope.org:/tmp/cvs-serv952/tests
Modified Files:
test_adding.py
Log Message:
Fix tests.
=== Zope3/src/zope/app/browser/container/tests/test_adding.py 1.18 => 1.19 ===
--- Zope3/src/zope/app/browser/container/tests/test_adding.py:1.18 Fri Dec 12 10:39:18 2003
+++ Zope3/src/zope/app/browser/container/tests/test_adding.py Mon Dec 15 07:45:05 2003
@@ -273,7 +273,7 @@
>>> adding = Adding(FakeContainer(),TestRequest())
>>> adding.renderAddButton()
- "<input type='submit' name='UPDATE_SUBMIT' value=' Add '>"
+ u"<input type='submit' name='UPDATE_SUBMIT' value='add-button'>"
Fake class without IContainerNamesContainer
@@ -285,12 +285,12 @@
>>> adding = Adding(Fake(),TestRequest())
>>> adding.renderAddButton()
- "<input type='submit' name='UPDATE_SUBMIT' value=' Add '>""" \
+ u"<input type='submit' name='UPDATE_SUBMIT' value='add-button'>""" \
"""<input type='text' name='add_input_name' value=''>"
>>> adding.contentName='myname'
>>> adding.renderAddButton()
- "<input type='submit' name='UPDATE_SUBMIT' value=' Add '>""" \
+ u"<input type='submit' name='UPDATE_SUBMIT' value='add-button'>""" \
"""<input type='text' name='add_input_name' value='myname'>"
>>> adding = Adding(Fake(),TestRequest())
More information about the Zope3-Checkins
mailing list