Opened 13 years ago

Closed 13 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 Christopher Grebs, 13 years ago

Summary: Wron unittests for create_user with no email addressWrong unittests for create_user with no email address

comment:2 by Jannis Leidel, 13 years ago

Resolution: fixed
Status: newclosed

In [16478]:

Fixed #16363 -- Fixed tests introduced in r16472. Thanks, EnTeQuAk.

Note: See TracTickets for help on using tickets.
Back to Top