You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed the app and when I tried python manage.py test --coverage I got the following error:
ImportError: cannot import name run_tests
It seems the cause of the problem is at this file: https://github.com/garethr/django-test-extensions/blob/master/src/test_extensions/testrunners/codecoverage.py
from django.test.simple import run_tests as django_test_runner
Apparently django doesn't have run_tests function anymore. Instead they encapsulated it with DjangoTestSuiteRunner class.
It'd be great if anyone fix this. Btw, I use Django 1.5
The text was updated successfully, but these errors were encountered:
I've installed the app and when I tried
python manage.py test --coverage
I got the following error:It seems the cause of the problem is at this file:
https://github.com/garethr/django-test-extensions/blob/master/src/test_extensions/testrunners/codecoverage.py
Apparently django doesn't have
run_tests
function anymore. Instead they encapsulated it withDjangoTestSuiteRunner
class.It'd be great if anyone fix this. Btw, I use Django 1.5
The text was updated successfully, but these errors were encountered: