#14774: assertNumQueries is buggy with views and the test client if used more 
than
once in a test
----------------------------------------+-----------------------------------
          Reporter:  lukeplant          |         Owner:  nobody
            Status:  new                |     Milestone:  1.3   
         Component:  Testing framework  |       Version:  1.2   
        Resolution:                     |      Keywords:        
             Stage:  Accepted           |     Has_patch:  0     
        Needs_docs:  0                  |   Needs_tests:  0     
Needs_better_patch:  0                  |  
----------------------------------------+-----------------------------------
Comment (by ojii):

 I've added some tests but they fail with -3!=1. How would assertNumQueries
 think that there's negative queries? Is this an issue with my tests or an
 actual issue with assertNumQueries?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14774#comment:4>
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