diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-07-10 12:03:36 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-07-10 12:03:36 +0000 |
| commit | 87d8976faee7b07a30ce1bd844b2b6178c3a3328 (patch) | |
| tree | e3cea0ea4c315c798f1b33d2c60bc23283716062 /tests | |
| parent | cc1a4f031c5cefa15bb06986254e696ad5734fbb (diff) | |
Fixed #4804 -- Fixed a problem when validating choice lists with non-ASCII
data. Thanks, django@vonposer.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/manipulators/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/manipulators/models.py b/tests/modeltests/manipulators/models.py index 7f1ff0e47b..46063828b9 100644 --- a/tests/modeltests/manipulators/models.py +++ b/tests/modeltests/manipulators/models.py @@ -54,7 +54,7 @@ True # Attempt to create an Album with an invalid musician. >>> man.get_validation_errors(MultiValueDict({'name': ['Sallies Fforth'], 'musician': ['foo']})) -{'musician': [u"Select a valid choice; 'foo' is not in ['', '1']."]} +{'musician': [u"Select a valid choice; 'foo' is not in [u'', u'1']."]} # Attempt to create an Album with an invalid release_date. >>> man.get_validation_errors(MultiValueDict({'name': ['Sallies Fforth'], 'musician': ['1'], 'release_date': 'today'})) |
