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

Steve Alexander steve@cat-box.net
Thu, 16 Jan 2003 22:09:18 +0200


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.

--
Steve Alexander