[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests -
test_browserwidget.py:1.19
Fred L. Drake, Jr.
fred at zope.com
Tue Jan 20 15:15:26 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv17948
Modified Files:
test_browserwidget.py
Log Message:
remove extraneous <span/> element now that we no longer generate it
=== Zope3/src/zope/app/browser/form/tests/test_browserwidget.py 1.18 => 1.19 ===
--- Zope3/src/zope/app/browser/form/tests/test_browserwidget.py:1.18 Tue Jan 20 13:56:31 2004
+++ Zope3/src/zope/app/browser/form/tests/test_browserwidget.py Tue Jan 20 15:15:26 2004
@@ -92,9 +92,9 @@
self.setUpContent(desc=u"Foo Description")
label = ' '.join(self._widget.label().strip().split())
self.assertEqual(label,
- '<label for="field.foo">'
- '<span title="Foo Description">Foo Title</span></label>'
- )
+ '<label for="field.foo" title="Foo Description">'
+ 'Foo Title</label>'
+ )
def testDescription(self):
self.setUpContent(desc=u'Foo Description')
More information about the Zope3-Checkins
mailing list