Opened 14 years ago
Closed 14 years ago
#16363 closed Bug (fixed)
Wrong unittests for create_user with no email address
| Reported by: | Christopher Grebs | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.auth | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
See https://code.djangoproject.com/changeset/16472#file1
I suggest a
self.assertEqual(u.email, '')
was meant to properly test that line.
Best regards,
Christopher.
Change History (2)
comment:1 by , 14 years ago
| Summary: | Wron unittests for create_user with no email address → Wrong unittests for create_user with no email address |
|---|
comment:2 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [16478]: