#8171: Invalid formset when form is missing from POST data
-------------------------------------------------------+--------------------
          Reporter:  James Chua <[EMAIL PROTECTED]>  |         Owner:  brosner 
            Status:  new                               |     Milestone:  1.0    
 
         Component:  Forms                             |       Version:  SVN    
 
        Resolution:                                    |      Keywords:  
formsets
             Stage:  Accepted                          |     Has_patch:  0      
 
        Needs_docs:  0                                 |   Needs_tests:  0      
 
Needs_better_patch:  0                                 |  
-------------------------------------------------------+--------------------
Comment (by brosner):

 Oh and here is the output:

 {{{
 $ ./runtests.py --settings=toolbox.settings forms
 ======================================================================
 FAIL: Doctest: regressiontests.forms.tests.__test__.formset_tests
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/Users/brian/Development/django-svn/django/test/_doctest.py", line
 2180, in runTest
     raise self.failureException(self.format_failure(new.getvalue()))
 AssertionError: Failed doctest test for
 regressiontests.forms.tests.__test__.formset_tests
   File "/Users/brian/Development/django-
 svn/tests/regressiontests/forms/tests.py", line unknown line number, in
 formset_tests

 ----------------------------------------------------------------------
 File "/Users/brian/Development/django-
 svn/tests/regressiontests/forms/tests.py", line ?, in
 regressiontests.forms.tests.__test__.formset_tests
 Failed example:
     [form.cleaned_data for form in formset.forms]
 Expected:
     [{'votes': 100, 'choice': u'Calexico'}, {'votes': 200, 'choice': 'The
 Decemberists'}, {}]
 Got:
     [{'votes': 100, 'choice': u'Calexico'}, {}, {}]


 ----------------------------------------------------------------------
 Ran 32 tests in 3.444s

 FAILED (failures=1)
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8171#comment:5>
Django Code <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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to