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:
parent
c10b227b69
commit
4dfe6190fa
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue