Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to tests expected count of number of queries to the database #4

Open
mitar opened this issue Dec 23, 2012 · 1 comment
Open

Add to tests expected count of number of queries to the database #4

mitar opened this issue Dec 23, 2012 · 1 comment

Comments

@mitar
Copy link
Member

mitar commented Dec 23, 2012

Add to tests expected count of number of queries to the database and fail if there is a mismatch. In this way we can make sure that we do not by mistake introduce additional queries.

@mitar
Copy link
Member Author

mitar commented Oct 7, 2013

query_counter context manager can be used for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant