Ticket #13108: forms.diff

File forms.diff, 700 bytes (added by Ben, 15 years ago)
  • django/contrib/auth/tests/forms.py

     
    221221
    222222# bug #5605, preserve the case of the user name (before the @ in the email address)
    223223# when creating a user.
    224 >>> user = User.objects.create_user('test2', 'tesT@EXAMple.com', 'test')
     224>>> user = User.objects.create_user('forms_test2', 'tesT@EXAMple.com', 'test')
    225225>>> user.email
    226226'tesT@example.com'
    227 >>> user = User.objects.create_user('test3', 'tesT', 'test')
     227>>> user = User.objects.create_user('forms_test3', 'tesT', 'test')
    228228>>> user.email
    229229'tesT'
    230230
Back to Top