Wednesday, June 2, 2010

How to count queries at unit tests

After firing up tests django sets DEBUG to False and
django.db.connection doesn't update it's queries attribute. Is there
any (probably lower level) access to fired queries? Or should I change/
write own runner class...

Anyone?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment