From b93d786251513a5da102abc31f275ab3ee2850ed Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 5 Sep 2019 08:56:17 +0200 Subject: [PATCH] Made SchemaTests.test_alter_db_table_case run only on backends where table names are case-insensitive. --- tests/schema/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/schema/tests.py b/tests/schema/tests.py index 8421fac09e..41c1cd5120 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -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: