I am trying to find out the number of queries executed by a utility function. I have written a unit test for this function and the function is working well. What I would like to
Since Django 1.3 there is a assertNumQueries available exactly for this purpose.