Code

Ticket #13108: forms.diff

File forms.diff, 700 bytes (added by benreynwar, 4 years ago)
Line 
1Index: django/contrib/auth/tests/forms.py
2===================================================================
3--- django/contrib/auth/tests/forms.py  (revision 12773)
4+++ django/contrib/auth/tests/forms.py  (working copy)
5@@ -221,10 +221,10 @@
6 
7 # bug #5605, preserve the case of the user name (before the @ in the email address)
8 # when creating a user.
9->>> user = User.objects.create_user('test2', 'tesT@EXAMple.com', 'test')
10+>>> user = User.objects.create_user('forms_test2', 'tesT@EXAMple.com', 'test')
11 >>> user.email
12 'tesT@example.com'
13->>> user = User.objects.create_user('test3', 'tesT', 'test')
14+>>> user = User.objects.create_user('forms_test3', 'tesT', 'test')
15 >>> user.email
16 'tesT'
17