[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component/tests - test_interfacewidget.py:1.14

Steve Alexander steve@cat-box.net
Thu, 16 Jan 2003 14:50:59 -0500


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

Modified Files:
	test_interfacewidget.py 
Log Message:
Changed form layout from using tables to using divs.



=== Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py:1.13	Thu Jan  9 09:13:02 2003
+++ Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py	Thu Jan 16 14:50:27 2003
@@ -355,7 +355,7 @@
                                 title=u'This is a test',
                                 required=False)
         widget = MultiInterfaceWidget(field, request)
-        
+
         self.assertEqual(widget.getData(), ())
         self.failIf(widget.haveData())
 
@@ -503,9 +503,9 @@
         '</option>'
 
         '</select>'
-        
+
         '<br>'
-        
+
         '<input type="text" name="field.TestName.search.i1" value="two">'
 
         '<select name="field.TestName.i1">'
@@ -523,7 +523,8 @@
         label = '<label for="field.TestName">This is a test</label>'
         self.assertEqual(widget.label(), label)
         self.assertEqual(widget.row(),
-                         '<td>%s</td><td>%s</td>' % (label, out)
+                         '<div class="label">%s</div>'
+                         '<div class="field">%s</div>' % (label, out)
                          )
 
     def testMultiInterfaceWidgetNone(self):