Ignore:
Timestamp:
4 Aug 2010, 19:50:53 (14 years ago)
Author:
uli
Message:

Another test. Test-Coverage now at 93%.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.widgets.core/trunk/src/waeup/widgets/core/tests/test_dictwidget.py

    r5370 r5371  
    500500        self.verifyResult(self.widget(), check_list, inorder=True)
    501501
     502    def test_renders_set_value(self):
     503        widget = self._WidgetFactory(self.field, self.request)
     504        widget.setRenderedValue(dict(foo='bar', baz='frob'))
     505        check_list = ['<ol', 'class=', 'testwidget',
     506                      '<li', 'baz: frob', '</li',
     507                      '<li', 'foo: bar', '</li',
     508                      '</ol']
     509        self.verifyResult(widget(), check_list, inorder=True)
     510       
    502511
    503512class UppercaseDisplayWidget(DisplayWidget):
Note: See TracChangeset for help on using the changeset viewer.