@@ -77,29 +77,13 @@ class DatabaseFeatures(BaseDatabaseFeatures):
7777 "backends.tests.ThreadTests.test_closing_non_shared_connections" ,
7878 "backends.tests.ThreadTests.test_default_connection_thread_local" ,
7979 # AddField
80- "schema.tests.SchemaTests.test_add_indexed_charfield" ,
8180 "schema.tests.SchemaTests.test_add_unique_charfield" ,
82- # Add/RemoveIndex
83- "migrations.test_operations.OperationTests.test_add_index" ,
84- "migrations.test_operations.OperationTests.test_alter_field_with_index" ,
85- "migrations.test_operations.OperationTests.test_remove_index" ,
86- "migrations.test_operations.OperationTests.test_rename_index" ,
87- "migrations.test_operations.OperationTests.test_rename_index_unknown_unnamed_index" ,
88- "migrations.test_operations.OperationTests.test_rename_index_unnamed_index" ,
89- "schema.tests.SchemaTests.test_add_remove_index" ,
90- "schema.tests.SchemaTests.test_composed_desc_index_with_fk" ,
91- "schema.tests.SchemaTests.test_composed_index_with_fk" ,
92- "schema.tests.SchemaTests.test_create_index_together" ,
93- "schema.tests.SchemaTests.test_order_index" ,
94- "schema.tests.SchemaTests.test_text_field_with_db_index" ,
9581 # AlterField
9682 "schema.tests.SchemaTests.test_alter_field_add_index_to_integerfield" ,
97- "schema.tests.SchemaTests.test_alter_field_fk_keeps_index" ,
9883 "schema.tests.SchemaTests.test_alter_field_fk_to_o2o" ,
9984 "schema.tests.SchemaTests.test_alter_field_o2o_keeps_unique" ,
10085 "schema.tests.SchemaTests.test_alter_field_o2o_to_fk" ,
10186 "schema.tests.SchemaTests.test_alter_int_pk_to_int_unique" ,
102- "schema.tests.SchemaTests.test_alter_not_unique_field_to_primary_key" ,
10387 # AlterField (db_index)
10488 "schema.tests.SchemaTests.test_alter_renames_index" ,
10589 "schema.tests.SchemaTests.test_indexes" ,
@@ -121,9 +105,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
121105 "schema.tests.SchemaTests.test_composed_constraint_with_fk" ,
122106 "schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index" ,
123107 "schema.tests.SchemaTests.test_unique_constraint" ,
124- # subclasses of BaseDatabaseIntrospection may require a get_constraints() method
125- "migrations.test_operations.OperationTests.test_add_func_unique_constraint" ,
126- "migrations.test_operations.OperationTests.test_remove_func_unique_constraint" ,
127108 }
128109 # $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
129110 _django_test_expected_failures_bitwise = {
@@ -227,6 +208,7 @@ def django_test_expected_failures(self):
227208 "get_or_create.tests.GetOrCreateThroughManyToMany.test_something" ,
228209 "get_or_create.tests.UpdateOrCreateTests.test_manual_primary_key_test" ,
229210 "get_or_create.tests.UpdateOrCreateTestsWithManualPKs.test_create_with_duplicate_primary_key" ,
211+ "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
230212 "model_fields.test_filefield.FileFieldTests.test_unique_when_same_filename" ,
231213 "one_to_one.tests.OneToOneTests.test_multiple_o2o" ,
232214 "queries.test_bulk_update.BulkUpdateTests.test_database_routing_batch_atomicity" ,
@@ -618,14 +600,8 @@ def django_test_expected_failures(self):
618600 "introspection.tests.IntrospectionTests.test_get_table_description_types" ,
619601 "introspection.tests.IntrospectionTests.test_smallautofield" ,
620602 },
621- "DatabaseIntrospection.get_constraints() not implemented." : {
622- "introspection.tests.IntrospectionTests.test_get_constraints" ,
623- "introspection.tests.IntrospectionTests.test_get_constraints_index_types" ,
624- "introspection.tests.IntrospectionTests.test_get_constraints_indexes_orders" ,
625- "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
626- "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
627- },
628603 "MongoDB can't introspect primary key." : {
604+ "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
629605 "schema.tests.SchemaTests.test_alter_primary_key_the_same_name" ,
630606 "schema.tests.SchemaTests.test_primary_key" ,
631607 },
0 commit comments