[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/Browser/tests - testConfigurationStatusWidget.py:1.3
Jim Fulton
jim@zope.com
Sun, 1 Dec 2002 05:30:34 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv2763/tests
Modified Files:
testConfigurationStatusWidget.py
Log Message:
Changed to use a more compact rendering of status radio buttons.
=== Zope3/lib/python/Zope/App/OFS/Services/Browser/tests/testConfigurationStatusWidget.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/Services/Browser/tests/testConfigurationStatusWidget.py:1.2 Sat Nov 30 13:35:55 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/Browser/tests/testConfigurationStatusWidget.py Sun Dec 1 05:30:33 2002
@@ -38,11 +38,11 @@
self.assertEqual(
text,
'<input type="radio" name="f.status" value="Unregistered" checked>'
- ' Unregistered<br />'
+ ' Unregistered '
'<input type="radio" name="f.status" value="Registered">'
- ' Registered<br />'
+ ' Registered '
'<input type="radio" name="f.status" value="Active">'
- ' Active'
+ ' Active'
)
request.form['f.status'] = u'Registered'
@@ -50,11 +50,11 @@
self.assertEqual(
text,
'<input type="radio" name="f.status" value="Unregistered">'
- ' Unregistered<br />'
+ ' Unregistered '
'<input type="radio" name="f.status" value="Registered" checked>'
- ' Registered<br />'
+ ' Registered '
'<input type="radio" name="f.status" value="Active">'
- ' Active'
+ ' Active'
)
widget.setData(u"Active")
@@ -62,11 +62,11 @@
self.assertEqual(
text,
'<input type="radio" name="f.status" value="Unregistered">'
- ' Unregistered<br />'
+ ' Unregistered '
'<input type="radio" name="f.status" value="Registered">'
- ' Registered<br />'
+ ' Registered '
'<input type="radio" name="f.status" value="Active" checked>'
- ' Active'
+ ' Active'
)
widget.setData(u"Unregistered")
@@ -74,11 +74,11 @@
self.assertEqual(
text,
'<input type="radio" name="f.status" value="Unregistered" checked>'
- ' Unregistered<br />'
+ ' Unregistered '
'<input type="radio" name="f.status" value="Registered">'
- ' Registered<br />'
+ ' Registered '
'<input type="radio" name="f.status" value="Active">'
- ' Active'
+ ' Active'
)