-
Notifications
You must be signed in to change notification settings - Fork 22
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
conflicts with django-coverage #4
Comments
Actually, I've used django-coverage source as a basis for test command in django-selenium, but I can't just call test command since I need to supply extra arguments related to selenium. I'm now looking at the django-coverage source here: |
Having a call_command a-la django_coverage is ok, but you still need to call
|
I'm using both south, django-coverage and django-selenium in my project.
Funny thing is, they both override the django test command, and in 3 different ways.
Things are, only south do it properly with a super(Command).
django-coverage do a call_command("test") at the end of the handle(), therefore calling django-selenium and ending broken.
The solution I found to get everything working is to rename my app/management/commands/test.py into test_selenium.py, then call test_selenium from my fab test script, and test_coverage for the coverage.
Might be worth to let a word about it in the README, and to find a better way to override test in django-selenium to finish by a super.
The text was updated successfully, but these errors were encountered: