Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Deleted unused djcelery.tests.runners module

  • Loading branch information...
commit 8a5104adbf3e89260e3d7b635d9d44b47bfd2959 1 parent f2350f2
Jonas Haag authored September 25, 2011

Showing 1 changed file with 0 additions and 19 deletions. Show diff stats Hide diff stats

  1. 19  djcelery/tests/runners.py
19  djcelery/tests/runners.py
... ...
@@ -1,19 +0,0 @@
1  
-from django.conf import settings
2  
-from django.test.simple import run_tests as django_test_runner
3  
-
4  
-
5  
-def run_tests(test_labels, verbosity=1, interactive=True, extra_tests=None,
6  
-        **kwargs):
7  
-    """ Test runner that only runs tests for the apps
8  
-    listed in ``settings.TEST_APPS``.
9  
-    """
10  
-    extra_tests = extra_tests or []
11  
-    app_labels = getattr(settings, "TEST_APPS", test_labels)
12  
-
13  
-    # Seems to be deleting the test database file twice :(
14  
-    from celery.utils import noop
15  
-    from django.db import connection
16  
-    connection.creation.destroy_test_db = noop
17  
-    return django_test_runner(app_labels,
18  
-                              verbosity=verbosity, interactive=interactive,
19  
-                              extra_tests=extra_tests, **kwargs)

0 notes on commit 8a5104a

Please sign in to comment.
Something went wrong with that request. Please try again.