Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 489 Bytes
# Make our own testrunner that by default only tests our own apps
from django.conf import settings
from django.test.simple import DjangoTestSuiteRunner
from django_coverage.coverage_runner import CoverageRunner
class OurTestRunner(DjangoTestSuiteRunner):
def build_suite(self, test_labels, *args, **kwargs):
return super(OurTestRunner, self).build_suite(test_labels or settings.PROJECT_APPS, *args, **kwargs)
class OurCoverageRunner(OurTestRunner, CoverageRunner):
Something went wrong with that request. Please try again.