Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Malcolm Tredinnick authored February 09, 2007
1  AUTHORS
@@ -83,6 +83,7 @@ answer newbie questions, and generally made Django that much better:
83 83
     martin.glueck@gmail.com
84 84
     Simon Greenhill <dev@simon.net.nz>
85 85
     Espen Grindhaug <http://grindhaug.org/>
  86
+    Brian Harring <ferringb@gmail.com>
86 87
     Brant Harris
87 88
     Hawkeye
88 89
     heckj@mac.com
6  tests/regressiontests/forms/tests.py
@@ -1493,7 +1493,7 @@
1493 1493
 >>> f.clean('3')
1494 1494
 Traceback (most recent call last):
1495 1495
 ...
1496  
-ValidationError: [u'Select a valid choice. 3 is not one of the available choices.']
  1496
+ValidationError: [u'Select a valid choice. That choice is not one of the available choices.']
1497 1497
 
1498 1498
 >>> f = ChoiceField(choices=[('1', '1'), ('2', '2')], required=False)
1499 1499
 >>> f.clean('')
@@ -1507,7 +1507,7 @@
1507 1507
 >>> f.clean('3')
1508 1508
 Traceback (most recent call last):
1509 1509
 ...
1510  
-ValidationError: [u'Select a valid choice. 3 is not one of the available choices.']
  1510
+ValidationError: [u'Select a valid choice. That choice is not one of the available choices.']
1511 1511
 
1512 1512
 >>> f = ChoiceField(choices=[('J', 'John'), ('P', 'Paul')])
1513 1513
 >>> f.clean('J')
@@ -1515,7 +1515,7 @@
1515 1515
 >>> f.clean('John')
1516 1516
 Traceback (most recent call last):
1517 1517
 ...
1518  
-ValidationError: [u'Select a valid choice. John is not one of the available choices.']
  1518
+ValidationError: [u'Select a valid choice. That choice is not one of the available choices.']
1519 1519
 
1520 1520
 # NullBooleanField ############################################################
1521 1521
 

0 notes on commit ea7b3fd

Please sign in to comment.
Something went wrong with that request. Please try again.