diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-29 15:14:40 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-31 08:29:17 -0500 |
| commit | 93d73dac91104fd82d44b0dd4521cfa4f31e02aa (patch) | |
| tree | 10dac1f7300e934118c425072463b07b23afda03 /tests/commands_sql | |
| parent | 32ca159c96339b4856837d7abec376a575ec44ab (diff) | |
Moved DatabaseCreation.data_types properties to DatabaseWrapper.
refs #22340.
Diffstat (limited to 'tests/commands_sql')
| -rw-r--r-- | tests/commands_sql/tests.py | 2 |
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') |
