pytest-django-sqlcounts (pypi): py.test plugin for reporting the number of SQLs executed per django testcase.
Keywords: py.test|pytest|django|sqlcount