- from django.test.utils import get_runner
-
- TestRunner = get_runner(settings)
- test_runner = TestRunner()
- failures = test_runner.run_tests(
- ["linaro_django_pagination.tests"],
- extra_tests=[doctest.DocTestSuite('linaro_django_pagination.tests.test_main')]
- )