I'm currently working on ticket #10403 <https://code.djangoproject.com/ticket/10403> -- Declarative syntax for Formsets
How to test whether a formset instance is correctly initialized?? The thing which I'm trying to achieve is to initiate a formset without using formset_factory(). I'm able to create objects of class derived from the BaseFormSet, but its really difficult for me to check whether it is properly initiated or not as expected from a formset instance. Should I write tests for this?? And if yes, which all parameter values should I assert in the test to conclude that my formset instance is indistinguishable from the one created using formset_factory. Also is there any better way to test this? I'm currently using a python shell to create objects and then check manually its attributes, etc. which I know is not a good way. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/583effcf-041e-4d30-9693-62a8f9559901%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.