Changeset 7427 for main/waeup.sirp/trunk/src/waeup/sirp/widgets/tests
- Timestamp:
- 21 Dec 2011, 12:19:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/widgets/tests/test_phonewidget.py
r7416 r7427 469 469 self.assertEqual(result2, u'') 470 470 return 471 472 def test_set_rendered_with_empty_context_value(self): 473 # if we set empty string as rendered value, empty fields are 474 # displayed. 475 self.widget.setRenderedValue(u'') 476 self.assertEqual( 477 self.widget(), 478 (u'+<input class="textType" id="field.foo.country"' 479 u' name="field.foo.country" size="3" type="text" value="" ' 480 u' />' 481 u' — \n' 482 u'<input class="textType" id="field.foo.area"' 483 u' name="field.foo.area" size="5" type="text" value="" ' 484 u' />' 485 u' — \n' 486 u'<input class="textType" id="field.foo.extension"' 487 u' name="field.foo.extension" size="10" type="text"' 488 u' value="" />\n')) 489 return
Note: See TracChangeset for help on using the changeset viewer.