Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #3449 -- fixed regression test results so that they all pass no…

…w. Thanks

Brian Harring.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ea7b3fd1485ff2d9864dbec123072743222c23f9 1 parent 9b129b8
@malcolmt malcolmt authored
Showing with 4 additions and 3 deletions.
  1. +1 −0  AUTHORS
  2. +3 −3 tests/regressiontests/forms/tests.py
View
1  AUTHORS
@@ -83,6 +83,7 @@ answer newbie questions, and generally made Django that much better:
martin.glueck@gmail.com
Simon Greenhill <dev@simon.net.nz>
Espen Grindhaug <http://grindhaug.org/>
+ Brian Harring <ferringb@gmail.com>
Brant Harris
Hawkeye
heckj@mac.com
View
6 tests/regressiontests/forms/tests.py
@@ -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 ############################################################
Please sign in to comment.
Something went wrong with that request. Please try again.