#26434: Inconsistent results of QuerySet count() method using PostgreSQL backend
prior and post the QuerySet evaluation
-------------------------------------+-------------------------------------
     Reporter:  kamandol             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.9
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  postgresql queryset  |             Triage Stage:
  count annotate aggreagate          |  Unreviewed
  order_by                           |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by kamandol):

 Replying to [comment:3 yakky]:
 > Tests looks legitimate, but I don't get this one https://github.com/sp-
 ricard-valverde/django/commit/c50afafdb02880e4c941c2a72a215bee80de3aed
 #diff-ce9b52a66d03e851a9828377263dc04bR3864 ; or rather I don't get why is
 labeled  as 'OK' as it the concatenation of the previous ones

 Sorry, my bad, it's a bad choice for a test title. What it demonstrates is
 that the second assert in that test is '''successful''' even though a new
 QuerySet is built and, according to the other failed tests it should fail
 too.

--
Ticket URL: <https://code.djangoproject.com/ticket/26434#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.9e1d82a5a4857af42883075d215784f9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to