Changeset 5371 for main/waeup.widgets.core/trunk/src/waeup/widgets
- Timestamp:
- 4 Aug 2010, 19:50:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.widgets.core/trunk/src/waeup/widgets/core/tests/test_dictwidget.py
r5370 r5371 500 500 self.verifyResult(self.widget(), check_list, inorder=True) 501 501 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 502 511 503 512 class UppercaseDisplayWidget(DisplayWidget):
Note: See TracChangeset for help on using the changeset viewer.