[1.1.X] Fixed #13108 -- Corrected an ambiguity in test data with the potential to cause test failures out of the box. Thanks to benreynwar for the report.

Backport of r12778 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-03-15 06:57:07 +00:00
parent ef92f4fdd9
commit d3ee5566b4
1 changed files with 2 additions and 2 deletions

View File

@ -221,10 +221,10 @@ u'jsmith3@example.com'
# bug #5605, preserve the case of the user name (before the @ in the email address)
# when creating a user.
>>> user = User.objects.create_user('test2', 'tesT@EXAMple.com', 'test')
>>> user = User.objects.create_user('forms_test2', 'tesT@EXAMple.com', 'test')
>>> user.email
'tesT@example.com'
>>> user = User.objects.create_user('test3', 'tesT', 'test')
>>> user = User.objects.create_user('forms_test3', 'tesT', 'test')
>>> user.email
'tesT'