| published by | Henryk Plötz |
|---|---|
| in blog | Tinker, Tamper, Alter, Fry |
| original entry | Showing SQL Queries with Pytest and Django |
I have a Django based project, and am doing unit tests with py.test. To debug a test failure it’s sometimes useful to see the actual SQL queries that Django emitted, which is surprisingly hard. I assumed that that would be such an obvious and common need, that a simple switch (for pytest-django) or easy plugin […]