[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests - test_browserwidget.py:1.6 test_textareawidget.py:1.4

Sidnei da Silva sidnei@x3ng.com
Thu, 16 Jan 2003 18:24:57 -0200


On Thu, Jan 16, 2003 at 10:09:18PM +0200, Steve Alexander wrote:
| Sidnei da Silva wrote:
| >On Thu, Jan 16, 2003 at 02:51:02PM -0500, Steve Alexander wrote:
| >| +        self.assertEqual(row, '<divclass="label">%s</div>'
| >| +                              '<divclass="field">%s</div>' % (label, 
| >value))
| >
| >Oops! Should be <div class="label"> and not <divclass="label">.
| 
| No it shouldn't.
| 
| The test removes all whitespace from the rendered text before comparing it.
| 
| Run the test and see.

Eeeeeeeeek! :P

-- 
Sidnei da Silva (dreamcatcher) <sidnei@x3ng.com.br>
X3ng Web Technology <http://www.x3ng.com.br>
GNU/Linux user 257852
Debian GNU/Linux 3.0 (Sid) 2.4.18 ppc

Like punning, programming is a play on words.