(self)
| 122 | ] |
| 123 | |
| 124 | def test_create_user(self): |
| 125 | email_lowercase = "normal@normal.com" |
| 126 | user = User.objects.create_user("user", email_lowercase) |
| 127 | self.assertEqual(user.email, email_lowercase) |
| 128 | self.assertEqual(user.username, "user") |
| 129 | self.assertFalse(user.has_usable_password()) |
| 130 | |
| 131 | def test_create_user_email_domain_normalize_rfc3696(self): |
| 132 | # According to RFC 3696 Section 3 the "@" symbol can be part of the |
nothing calls this directly
no test coverage detected