[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container/tests - test_adding.py:1.22

sree sree at mahiti.org
Wed Dec 17 07:15:40 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/container/tests
In directory cvs.zope.org:/tmp/cvs-serv21767/app/browser/container/tests

Modified Files:
	test_adding.py 
Log Message:
Upfated adding unit tests...


=== Zope3/src/zope/app/browser/container/tests/test_adding.py 1.21 => 1.22 ===
--- Zope3/src/zope/app/browser/container/tests/test_adding.py:1.21	Wed Dec 17 04:07:52 2003
+++ Zope3/src/zope/app/browser/container/tests/test_adding.py	Wed Dec 17 07:15:09 2003
@@ -273,7 +273,7 @@
     
     >>> adding = Adding(FakeContainer(),TestRequest())
     >>> adding.renderAddButton()
-    u"<input type='submit' name='UPDATE_SUBMIT' value='Add'>"
+    u" <input type='submit' name='UPDATE_SUBMIT' value='Add'>"
 
     Fake class without IContainerNamesContainer
     
@@ -285,13 +285,10 @@
 
     >>> adding = Adding(Fake(),TestRequest())
     >>> adding.renderAddButton()
-    u"<input type='submit' name='UPDATE_SUBMIT' value='Add'>""" \
-          """<input type='text' name='add_input_name' value=''>"
-
+    u"&nbsp;&nbsp;<input type='submit' name='UPDATE_SUBMIT' value='Add'>&nbsp;&nbsp;<b>Object Name:<b>&nbsp;<input type='text' name='add_input_name' value=''>"
     >>> adding.contentName='myname'
     >>> adding.renderAddButton()
-    u"<input type='submit' name='UPDATE_SUBMIT' value='Add'>""" \
-         """<input type='text' name='add_input_name' value='myname'>"
+    u"&nbsp;&nbsp;<input type='submit' name='UPDATE_SUBMIT' value='Add'>&nbsp;&nbsp;<b>Object Name:<b>&nbsp;<input type='text' name='add_input_name' value='myname'>"
     >>> adding = Adding(Fake(),TestRequest())     
 
     To check request variable




More information about the Zope3-Checkins mailing list