Skip to content

Improve failure when a database access happens from unittest.TestCase #234

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

Closed
blueyed opened this issue May 8, 2015 · 1 comment
Closed

Comments

@blueyed
Copy link
Contributor

blueyed commented May 8, 2015

From #197 (comment)

Regarding the error message about the marker, we could probably improve the failure when a database access happens from a unittest.TestCase subclass to instruct the user to subclass from django.test.TestCase instead.

Should this then also happen for access through setUpClass, or should this behavior be left unchanged?

@blueyed
Copy link
Contributor Author

blueyed commented Nov 9, 2019

Assuming this to be fixed/addressed.

@blueyed blueyed closed this as completed Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant