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

Double imports when migrating from standard Django tests #21

Open
andrejtokarcik opened this issue Mar 3, 2011 · 0 comments
Open

Double imports when migrating from standard Django tests #21

andrejtokarcik opened this issue Mar 3, 2011 · 0 comments

Comments

@andrejtokarcik
Copy link
Contributor

A usual way to organize Django tests is to split up the tests.py file into a tests directory/module whose init file imports other test files in order to make them available for Django. This may cause a little trouble when adopting Django Sane Testing which does an automatic discovery (via nose) and thus may end up with some tests loaded and run twice.

A nose plugin to filter duplicates in the loaded tests list before running the tests, perhaps?

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