#16622: django.test.TestCase slow using PostgreSQL 8.4.4
--------------------------------------+-----------------------------------
               Reporter:  valhallasw  |          Owner:  nobody
                   Type:  Bug         |         Status:  new
              Milestone:              |      Component:  Testing framework
                Version:  1.3         |       Severity:  Normal
             Resolution:              |       Keywords:
           Triage Stage:  Unreviewed  |      Has patch:  0
    Needs documentation:  0           |    Needs tests:  0
Patch needs improvement:  0           |  Easy pickings:  0
                  UI/UX:  0           |
--------------------------------------+-----------------------------------

Comment (by valhallasw):

 _support_transactions seems to report transactions are supported, as can
 be seen from the following:

 (using 1.3 release /
 
https://code.djangoproject.com/browser/django/tags/releases/1.3/django/db/backends/__init__.py#L364)

 {{{
 $ python -m pdb ./manage.py test
 > manage.py(2)<module>()
 -> from django.core.management import execute_manager
 (Pdb) b /lib/python2.6/site-packages/django/db/backends/__init__.py:364
 Breakpoint 1 at /lib/python2.6/site-
 packages/django/db/backends/__init__.py:364
 (Pdb) commands 1
 (com) silent
 (com) print "SUPPORTS TRANSACTIONS: ", (count == 0)
 (com) continue
 (Pdb) continue
 Creating test database for alias 'default'...
 SUPPORTS TRANSACTIONS:  True
 .....
 ----------------------------------------------------------------------
 Ran 5 tests in 11.715s

 OK
 The program finished and will be restarted
 > manage.py(2)<module>()
 -> from django.core.management import execute_manager
 (Pdb)
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16622#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 post to this group, send email to django-updates@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