#11603: Add an assertFormSetError function to django.test.TestCase -------------------------------------+------------------------------------- Reporter: | Owner: martin_speleo martin_speleo | Status: new Type: New | Component: Testing framework feature | Severity: Normal Milestone: 1.4 | Keywords: formset Version: SVN | Has patch: 1 Resolution: | Needs tests: 0 Triage Stage: Accepted | Easy pickings: 0 Needs documentation: 0 | Patch needs improvement: 1 | UI/UX: 0 | -------------------------------------+------------------------------------- Changes (by russellm):
* needs_better_patch: 0 => 1 * stage: Ready for checkin => Accepted Comment: I just tried to apply this patch, and it failed 4 of its own tests. On a closer examination, I'm also inclined to suggest that the ``form`` argument should be named ``form_index``; there are other assertions that have a form argument that take an actual form instance, so ``form_index`` makes it clear that you're asking for an integer, not a form. -- Ticket URL: <https://code.djangoproject.com/ticket/11603#comment:9> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.