diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-06-28 10:17:36 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-06-28 10:17:36 +0000 |
| commit | 0278947128cf478b47b0bc87ac0c2de0405b3d2a (patch) | |
| tree | 3df720bd2e12517595217837deeb616fc3b62c0a | |
| parent | f801e2c15dee8bf711bcccc932ef9f0ca89a0e8b (diff) | |
Fixed #16363 -- Fixed tests introduced in r16472. Thanks, EnTeQuAk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/auth/tests/basic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/contrib/auth/tests/basic.py b/django/contrib/auth/tests/basic.py index 6d4f6664c4..9f94c2a769 100644 --- a/django/contrib/auth/tests/basic.py +++ b/django/contrib/auth/tests/basic.py @@ -42,13 +42,13 @@ class BasicTestCase(TestCase): def test_user_no_email(self): "Check that users can be created without an email" u = User.objects.create_user('testuser1') - u.email = '' + self.assertEqual(u.email, '') u2 = User.objects.create_user('testuser2', email='') - u2.email = '' + self.assertEqual(u2.email, '') u3 = User.objects.create_user('testuser3', email=None) - u3.email = '' + self.assertEqual(u3.email, '') def test_anonymous_user(self): "Check the properties of the anonymous user" |
