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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-03-15 06:55:56 +00:00
parent c10b227b69
commit 4dfe6190fa
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'