#20387: Two tests for admin views fail under Oracle
---------------------------------+-------------------------------------
     Reporter:  aaugustin        |                    Owner:  aaugustin
         Type:  Bug              |                   Status:  assigned
    Component:  contrib.admin    |                  Version:  master
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+-------------------------------------

Comment (by shai):

 Last one means every `assertNumQueries()` where a nested transaction is
 involved (which is almost all of them) now needs to test for
 vendor==oracle. I think the best solution, if possible, is to increment
 the query count on the Oracle backend without executing anything.

 The above notwithstanding, the patch has a `with
 self.assertNumQueries(9):` in line 3615 that should be `with
 self.assertNumQueries(expected_queries):`

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20387#comment:5>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to