summaryrefslogtreecommitdiff
path: root/tests/commands_sql
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-12-29 15:14:40 -0500
committerTim Graham <timograham@gmail.com>2014-12-31 08:29:17 -0500
commit93d73dac91104fd82d44b0dd4521cfa4f31e02aa (patch)
tree10dac1f7300e934118c425072463b07b23afda03 /tests/commands_sql
parent32ca159c96339b4856837d7abec376a575ec44ab (diff)
Moved DatabaseCreation.data_types properties to DatabaseWrapper.
refs #22340.
Diffstat (limited to 'tests/commands_sql')
-rw-r--r--tests/commands_sql/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/commands_sql/tests.py b/tests/commands_sql/tests.py
index 83c47a888f..5eb9f0191a 100644
--- a/tests/commands_sql/tests.py
+++ b/tests/commands_sql/tests.py
@@ -45,7 +45,7 @@ class SQLCommandsTestCase(TestCase):
'commands_sql_comment', 'commands_sql_book', 'commands_sql_book_comments'
})
- @unittest.skipUnless('PositiveIntegerField' in connections[DEFAULT_DB_ALIAS].creation.data_type_check_constraints, 'Backend does not have checks.')
+ @unittest.skipUnless('PositiveIntegerField' in connections[DEFAULT_DB_ALIAS].data_type_check_constraints, 'Backend does not have checks.')
def test_sql_create_check(self):
"""Regression test for #23416 -- Check that db_params['check'] is respected."""
app_config = apps.get_app_config('commands_sql')