Changeset 8165 for main/waeup.kofa/trunk/src/waeup/kofa/widgets/tests
- Timestamp:
- 15 Apr 2012, 17:49:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/widgets/tests/test_datetimewidget.py
r8162 r8165 7 7 from zope.interface.verify import verifyClass 8 8 9 from zope.datetime import parseDatetimetz10 9 from zope.formlib.tests.test_browserwidget import ( 11 10 SimpleInputWidgetTest, BrowserWidgetTest, ) … … 58 57 def test_getDefaultInputValue(self, 59 58 value=u'2004-03-26 12:10:20', 60 check_value = parseDatetimetz('2004-03-26 12:10:20 GMT')):59 check_value=datetime.datetime(2004, 3, 26, 12, 10, 20)): 61 60 self._widget.request.form['field.foo'] = u'' 62 61 self.assertRaises(WidgetInputError, self._widget.getInputValue)
Note: See TracChangeset for help on using the changeset viewer.