summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorChandrakant Kumar <k.03chandra@gmail.com>2017-06-16 08:47:17 -0400
committerTim Graham <timograham@gmail.com>2017-06-16 11:06:01 -0400
commitf6800a081afa27eaee9229ad5ccfd86c6c61496d (patch)
tree92a28b31e95e482015427f7236609deb7058032f /tests/cache
parent874b1f2cac7b79597ce87cc244b7cefc5c5cd821 (diff)
Refs #27787 -- Corrected or removed invalid call_command() options.
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index 2c6b50fe38..eb5865f08d 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -961,7 +961,7 @@ class DBCacheTests(BaseCacheTests, TransactionTestCase):
self.drop_table()
def create_table(self):
- management.call_command('createcachetable', verbosity=0, interactive=False)
+ management.call_command('createcachetable', verbosity=0)
def drop_table(self):
with connection.cursor() as cursor:
@@ -1042,9 +1042,7 @@ class CreateCacheTableForDBCacheTests(TestCase):
def test_createcachetable_observes_database_router(self):
# cache table should not be created on 'default'
with self.assertNumQueries(0, using='default'):
- management.call_command('createcachetable',
- database='default',
- verbosity=0, interactive=False)
+ management.call_command('createcachetable', database='default', verbosity=0)
# cache table should be created on 'other'
# Queries:
# 1: check table doesn't already exist
@@ -1054,9 +1052,7 @@ class CreateCacheTableForDBCacheTests(TestCase):
# 5: release savepoint (if transactional DDL is supported)
num = 5 if connections['other'].features.can_rollback_ddl else 3
with self.assertNumQueries(num, using='other'):
- management.call_command('createcachetable',
- database='other',
- verbosity=0, interactive=False)
+ management.call_command('createcachetable', database='other', verbosity=0)
class PicklingSideEffect: