2

I installed django_test_coverage by easy install and simply added the line

TEST_RUNNER = 'django_test_coverage.runner.CoverageTestSuiteRunner'

to my settings (Django 1.4)

But when I run the test with

python manage.py test myapp

I am getting:

ImportError: No module named django_test_coverage.runner

1 Answer 1

3

The package on PyPi is broken. You cannot install this with easy_install or pip. https://github.com/srosro/django-test-coverage/issues/7

It works if you install from source:

git clone git://github.com/srosro/django-test-coverage.git
cd django-test-coverage
python setup.py install
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.