-
Notifications
You must be signed in to change notification settings - Fork 29
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
codecoverage causes re-registration of admin models #2
Comments
When I have a model that has an admin interface registered, and I run test with —coverage, then I get an AlreadyRegistered exception: Traceback (most recent call last): File "/usr/local/Cellar/EasyInstall/2.6/lib/python2.6/site-packages/Django-1.1.1-py2.6.egg/django/contrib/admin/sites.py", line 78, in register |
My workaround was to ignore all exceptions when importing for coverage checking. |
No description provided.
The text was updated successfully, but these errors were encountered: