Skip to content

conflicts with django-coverage #4

@AdrienLemaire

Description

@AdrienLemaire

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions