#27266: assertFormError fails when trying to check a custom validation in an
Admin
form
-------------------------------------+-------------------------------------
Reporter: Diego Andrés | Owner: nobody
Sanabria Martín |
Type: Bug | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed
Keywords: unittest, admin, | Triage Stage: Accepted
modelform, adminform, test |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"6f3c78dbe6f17997aa9d115d041bbb0318061ba7" 6f3c78d]:
{{{
#!CommitTicketReference repository=""
revision="6f3c78dbe6f17997aa9d115d041bbb0318061ba7"
Fixed #27266 -- Allowed using assertFormError()/assertFormsetError() in
admin forms and formsets.
Thanks Diego Andrés Sanabria Martín for the report and review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27266#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.be73f9e765b22c739343f496d039881c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.