We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If we do something like this:
@pytest.mark.django_db @pytest.mark.count_queries def test_get_payment_token(api_client): pass
It will generate queries from the django_db fixture.
django_db
The solution is:
def test_get_payment_token(db, api_client, count_queries): pass
But then we lose the ability to filter tests by markers.
The text was updated successfully, but these errors were encountered:
Add recommendations about side effects and django-queries
df05ce3
Closes #35
5ac8195
NyanKiyoshi
No branches or pull requests
Describe the bug
If we do something like this:
It will generate queries from the
django_db
fixture.The solution is:
But then we lose the ability to filter tests by markers.
The text was updated successfully, but these errors were encountered: