From 93d73dac91104fd82d44b0dd4521cfa4f31e02aa Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 29 Dec 2014 15:14:40 -0500 Subject: Moved DatabaseCreation.data_types properties to DatabaseWrapper. refs #22340. --- tests/commands_sql/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/commands_sql') 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') -- cgit v1.3