Permalink
Browse files

Deleted unused djcelery.tests.runners module

  • Loading branch information...
1 parent f2350f2 commit 8a5104adbf3e89260e3d7b635d9d44b47bfd2959 @jonashaag jonashaag committed Sep 25, 2011
Showing with 0 additions and 19 deletions.
  1. +0 −19 djcelery/tests/runners.py
View
@@ -1,19 +0,0 @@
-from django.conf import settings
-from django.test.simple import run_tests as django_test_runner
-
-
-def run_tests(test_labels, verbosity=1, interactive=True, extra_tests=None,
- **kwargs):
- """ Test runner that only runs tests for the apps
- listed in ``settings.TEST_APPS``.
- """
- extra_tests = extra_tests or []
- app_labels = getattr(settings, "TEST_APPS", test_labels)
-
- # Seems to be deleting the test database file twice :(
- from celery.utils import noop
- from django.db import connection
- connection.creation.destroy_test_db = noop
- return django_test_runner(app_labels,
- verbosity=verbosity, interactive=interactive,
- extra_tests=extra_tests, **kwargs)

0 comments on commit 8a5104a

Please sign in to comment.