Opened 7 years ago
Closed 7 years ago
#29275 closed Cleanup/optimization (fixed)
Emit "(actual errors: none)" instead of "(actual errors: )" in assertFormError
Description (last modified by ) ¶
The suffix in the error output of assertFormError (eg.)
AssertionError: False is not true : The form 'form' in context 0 does not contain the non-field error 'Please enter a correct email and password. Note that both fields may be case-sensitive.' (actual errors: )
is kinda weird. We should print "none" instead, otherwise it looks like there is an error in the error.
Change History (3)
comment:1 by , 7 years ago
Description: | modified (diff) |
---|---|
Has patch: | set |
Summary: | Emit "(actual errors: none)" instead of "(actual errors: )" → Emit "(actual errors: none)" instead of "(actual errors: )" in assertFormError |
comment:2 by , 7 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|---|
Version: | 2.0 → master |
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/9837