Author: mtredinnick
Date: 2007-02-09 16:09:07 -0600 (Fri, 09 Feb 2007)
New Revision: 4466
Modified:
django/trunk/AUTHORS
django/trunk/tests/regressiontests/forms/tests.py
Log:
Fixed #3449 -- fixed regression test results so that they all pass now. Thanks
Brian Harring.
Modified: django/trunk/AUTHORS
===================================================================
--- django/trunk/AUTHORS 2007-02-09 22:01:13 UTC (rev 4465)
+++ django/trunk/AUTHORS 2007-02-09 22:09:07 UTC (rev 4466)
@@ -83,6 +83,7 @@
[EMAIL PROTECTED]
Simon Greenhill <[EMAIL PROTECTED]>
Espen Grindhaug <http://grindhaug.org/>
+ Brian Harring <[EMAIL PROTECTED]>
Brant Harris
Hawkeye
[EMAIL PROTECTED]
Modified: django/trunk/tests/regressiontests/forms/tests.py
===================================================================
--- django/trunk/tests/regressiontests/forms/tests.py 2007-02-09 22:01:13 UTC
(rev 4465)
+++ django/trunk/tests/regressiontests/forms/tests.py 2007-02-09 22:09:07 UTC
(rev 4466)
@@ -1493,7 +1493,7 @@
>>> f.clean('3')
Traceback (most recent call last):
...
-ValidationError: [u'Select a valid choice. 3 is not one of the available
choices.']
+ValidationError: [u'Select a valid choice. That choice is not one of the
available choices.']
>>> f = ChoiceField(choices=[('1', '1'), ('2', '2')], required=False)
>>> f.clean('')
@@ -1507,7 +1507,7 @@
>>> f.clean('3')
Traceback (most recent call last):
...
-ValidationError: [u'Select a valid choice. 3 is not one of the available
choices.']
+ValidationError: [u'Select a valid choice. That choice is not one of the
available choices.']
>>> f = ChoiceField(choices=[('J', 'John'), ('P', 'Paul')])
>>> f.clean('J')
@@ -1515,7 +1515,7 @@
>>> f.clean('John')
Traceback (most recent call last):
...
-ValidationError: [u'Select a valid choice. John is not one of the available
choices.']
+ValidationError: [u'Select a valid choice. That choice is not one of the
available choices.']
# NullBooleanField ############################################################
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---