#11603: Add an assertFormSetError function to django.test.TestCase ----------------------------------------+----------------------------------- Reporter: martin_speleo | Owner: martin_speleo Status: new | Milestone: Component: Testing framework | Version: SVN Resolution: | Keywords: formset Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ----------------------------------------+----------------------------------- Changes (by martin_speleo):
* needs_docs: 1 => 0 * has_patch: 0 => 1 * version: => SVN * needs_tests: 1 => 0 Comment: My first attempt at contibuting to Django, I think the patch should be ready to be checked in. It could possibly do with some unittesting on checking for more than one error at once. assertFormError also does not have unittests for dealing with multiple errors, along with a few other little bits and pieces. But if I understand correctly, exceptions are normally used to raise errors in forms/formsets so mulitple errors will be uncommon. I have not tested that my changes to the documentation do not break everything, as I am running Vista and the make file for the documentation used a -p command on mkdir which did not appear to be understood. If this is a problem let me know and I will try to make the documenetation again. -- Ticket URL: <http://code.djangoproject.com/ticket/11603#comment:3> Django <http://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 -~----------~----~----~----~------~----~------~--~---