From d3ee5566b4804f40e4cf5e86e4bdb5b2c629b8a2 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 15 Mar 2010 06:57:07 +0000 Subject: [PATCH] [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 --- django/contrib/auth/tests/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/auth/tests/forms.py b/django/contrib/auth/tests/forms.py index c3cc7641a9..ee1abe5023 100644 --- a/django/contrib/auth/tests/forms.py +++ b/django/contrib/auth/tests/forms.py @@ -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'