diff --git a/CHANGES.rst b/CHANGES.rst index 3a8ab1fb..bcb29c7d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,9 @@ New features: Bug fixes: +- Test fixes for plone.app.widgets 2.1. + [thet] + - remove deprecated __of__ for browserviews [pbauer] diff --git a/plone/app/z3cform/tests/test_widgets.py b/plone/app/z3cform/tests/test_widgets.py index d6c94c1d..9cbd0954 100644 --- a/plone/app/z3cform/tests/test_widgets.py +++ b/plone/app/z3cform/tests/test_widgets.py @@ -164,7 +164,6 @@ def test_widget(self): 'firstDay': 0, 'min': [current_year - 100, 1, 1], 'max': [current_year + 20, 1, 1], - 'clear': u'Clear', 'format': 'mmmm d, yyyy', 'monthsFull': [u'January', u'February', u'March', u'April', u'May', u'June', u'July', @@ -175,14 +174,15 @@ def test_widget(self): 'weekdaysFull': [u'Sunday', u'Monday', u'Tuesday', u'Wednesday', u'Thursday', u'Friday', u'Saturday'], - 'today': u'Today', 'selectYears': 200, 'placeholder': u'Enter date...', 'monthsShort': [u'Jan', u'Feb', u'Mar', u'Apr', u'May', u'Jun', u'Jul', u'Aug', u'Sep', u'Oct', u'Nov', u'Dec'] }, - 'time': False + 'time': False, + 'today': u'Today', + 'clear': u'Clear', } }, self.widget._base_args(), @@ -258,7 +258,6 @@ def test_widget(self): 'firstDay': 0, 'min': [current_year - 100, 1, 1], 'max': [current_year + 20, 1, 1], - 'clear': u'Clear', 'format': 'mmmm d, yyyy', 'monthsFull': [u'January', u'February', u'March', u'April', u'May', u'June', u'July', @@ -269,7 +268,6 @@ def test_widget(self): 'weekdaysFull': [u'Sunday', u'Monday', u'Tuesday', u'Wednesday', u'Thursday', u'Friday', u'Saturday'], - 'today': u'Today', 'selectYears': 200, 'placeholder': u'Enter date...', 'monthsShort': [u'Jan', u'Feb', u'Mar', u'Apr', u'May', @@ -278,10 +276,11 @@ def test_widget(self): }, 'time': { 'placeholder': u'Enter time...', - 'today': u'Today', 'format': 'h:i a', 'interval': 15 - } + }, + 'today': u'Today', + 'clear': u'Clear', } }, self.widget._base_args(),