Made SchemaTests.test_alter_db_table_case run only on backends where table names are case-insensitive.

This commit is contained in:
Hasan Ramezani 2019-09-05 08:56:17 +02:00 committed by Mariusz Felisiak
parent 72ebe85a26
commit b93d786251
1 changed files with 1 additions and 0 deletions

View File

@ -1130,6 +1130,7 @@ class SchemaTests(TransactionTestCase):
# The unique constraint remains.
self.assertEqual(counts, {'fks': expected_fks, 'uniques': 1, 'indexes': 0})
@skipUnlessDBFeature('ignores_table_name_case')
def test_alter_db_table_case(self):
# Create the table
with connection.schema_editor() as editor: