Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions use_live_db/test_runner.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Based on http://stackoverflow.com/a/5809952/689985

from django.test.simple import DjangoTestSuiteRunner
from django.test.simple import dependency_ordered
from django.test.runner import DiscoverRunner
from django.test.runner import dependency_ordered

class ByPassableDBDjangoTestSuiteRunner(DjangoTestSuiteRunner):
class ByPassableDBDjangoTestSuiteRunner(DiscoverRunner):
def setup_databases(self, **kwargs):
from django.db import connections, DEFAULT_DB_ALIAS

Expand Down