summaryrefslogtreecommitdiff
path: root/tests/inspectdb
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2018-12-24 13:34:44 -0500
committerTim Graham <timograham@gmail.com>2018-12-24 15:32:39 -0500
commit64f9776bc4a27a665032ac15f5176ced66e996e3 (patch)
tree990d3a07b3d1dc8ce59fd4f0fe4c9300cd674f04 /tests/inspectdb
parentf6d8b0c47e5027037ed8c9926b1cc67d328091e6 (diff)
downloaddjango-64f9776bc4a27a665032ac15f5176ced66e996e3.tar.gz
Refs #29004 -- Prevented inspectdb tests from flushing all tables data.
This is a costly operation on most database backends.
Diffstat (limited to 'tests/inspectdb')
-rw-r--r--tests/inspectdb/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/inspectdb/tests.py b/tests/inspectdb/tests.py
index c69eb8e49b..bb5e457739 100644
--- a/tests/inspectdb/tests.py
+++ b/tests/inspectdb/tests.py
@@ -285,7 +285,7 @@ class InspectDBTestCase(TestCase):
class InspectDBTransactionalTests(TransactionTestCase):
- available_apps = None
+ available_apps = ['inspectdb']
def test_include_views(self):
"""inspectdb --include-views creates models for database views."""