#35840: assertFormError shows error when testing form input
-----------------------------------+--------------------------------------
Reporter: KevinS | Owner: (none)
Type: Bug | Status: new
Component: Testing framework | Version: 5.1
Severity: Normal | Resolution:
Keywords: UnitTest, Form | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by KevinS):
* resolution: invalid =>
* status: closed => new
Comment:
Hi,
Understand that this is not a support ticket and I have already search
other forums for a solution. But given your comment and I have check
Django documentation,
(https://docs.djangoproject.com/en/5.1/topics/testing/tools/#django.test.SimpleTestCase.assertFormError)
and that the parameters are indeed `form` as first parameter.
That why I am confused as my screenshot shows that the first parameter is
a `HttpResponse`. Hence I have raise it here as a potential bug. But do
direct me to the appropriate channel if it is still not an issue to be
raised here.
--
Ticket URL: <https://code.djangoproject.com/ticket/35840#comment:2>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701928f7986dc-ede30f00-8227-4b13-9ecd-95679216d0f1-000000%40eu-central-1.amazonses.com.