#11797: Test Client Response content form value parsing
---------------------------------------------+------------------------------
          Reporter:  Rupe                    |         Owner:  nobody           
                
            Status:  new                     |     Milestone:  1.2              
                
         Component:  Testing framework       |       Version:  SVN              
                
        Resolution:                          |      Keywords:  test client 
content form post get
             Stage:  Design decision needed  |     Has_patch:  1                
                
        Needs_docs:  0                       |   Needs_tests:  0                
                
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Comment (by Rupe):

 An other thought ... One of the other main reasons for creating this logic
 is to cleanup the testing logic. If you open
 \test\regressiontests\admin_views\tests.py and search for 'data = {', you
 will find 19 different locations where post data is constructed manually.
 It would make for much more readable code if we were retrieving a
 page/form, modifying the from data, and then re-submitting it.

 Also, it would make for better real world tests, because otherwise we have
 no idea if the forms are being created properly (as I mentioned
 previously).

 Are there currently Twill tests for Django?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11797#comment:11>
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-upda...@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.


Reply via email to