@@ -86,23 +86,14 @@ class DatabaseFeatures(BaseDatabaseFeatures):
8686 "backends.tests.ThreadTests.test_pass_connection_between_threads" ,
8787 "backends.tests.ThreadTests.test_closing_non_shared_connections" ,
8888 "backends.tests.ThreadTests.test_default_connection_thread_local" ,
89- # Add/RemoveIndex
90- "schema.tests.SchemaTests.test_add_remove_index" ,
91- "schema.tests.SchemaTests.test_composed_desc_index_with_fk" ,
92- "schema.tests.SchemaTests.test_composed_index_with_fk" ,
93- "schema.tests.SchemaTests.test_create_index_together" ,
94- "schema.tests.SchemaTests.test_order_index" ,
95- "schema.tests.SchemaTests.test_text_field_with_db_index" ,
9689 # AlterField
9790 "schema.tests.SchemaTests.test_alter_auto_field_to_integer_field" ,
9891 "schema.tests.SchemaTests.test_alter_field_add_index_to_integerfield" ,
9992 "schema.tests.SchemaTests.test_alter_field_default_dropped" ,
100- "schema.tests.SchemaTests.test_alter_field_fk_keeps_index" ,
10193 "schema.tests.SchemaTests.test_alter_field_fk_to_o2o" ,
10294 "schema.tests.SchemaTests.test_alter_field_o2o_keeps_unique" ,
10395 "schema.tests.SchemaTests.test_alter_field_o2o_to_fk" ,
10496 "schema.tests.SchemaTests.test_alter_int_pk_to_int_unique" ,
105- "schema.tests.SchemaTests.test_alter_not_unique_field_to_primary_key" ,
10697 "schema.tests.SchemaTests.test_alter_null_to_not_null" ,
10798 "schema.tests.SchemaTests.test_alter_primary_key_the_same_name" ,
10899 "schema.tests.SchemaTests.test_autofield_to_o2o" ,
@@ -129,6 +120,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
129120 "schema.tests.SchemaTests.test_composed_constraint_with_fk" ,
130121 "schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index" ,
131122 "schema.tests.SchemaTests.test_unique_constraint" ,
123+ # constraints not fully implemented.
124+ "introspection.tests.IntrospectionTests.test_get_constraints" ,
132125 }
133126 # $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
134127 _django_test_expected_failures_bitwise = {
@@ -211,6 +204,7 @@ def django_test_expected_failures(self):
211204 "get_or_create.tests.GetOrCreateThroughManyToMany.test_something" ,
212205 "get_or_create.tests.UpdateOrCreateTests.test_manual_primary_key_test" ,
213206 "get_or_create.tests.UpdateOrCreateTestsWithManualPKs.test_create_with_duplicate_primary_key" ,
207+ "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
214208 "model_fields.test_filefield.FileFieldTests.test_unique_when_same_filename" ,
215209 "one_to_one.tests.OneToOneTests.test_multiple_o2o" ,
216210 "queries.test_bulk_update.BulkUpdateTests.test_database_routing_batch_atomicity" ,
@@ -591,14 +585,8 @@ def django_test_expected_failures(self):
591585 "introspection.tests.IntrospectionTests.test_get_table_description_types" ,
592586 "introspection.tests.IntrospectionTests.test_smallautofield" ,
593587 },
594- "DatabaseIntrospection.get_constraints() not implemented." : {
595- "introspection.tests.IntrospectionTests.test_get_constraints" ,
596- "introspection.tests.IntrospectionTests.test_get_constraints_index_types" ,
597- "introspection.tests.IntrospectionTests.test_get_constraints_indexes_orders" ,
598- "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
599- "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
600- },
601588 "MongoDB can't introspect primary key." : {
589+ "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
602590 "schema.tests.SchemaTests.test_primary_key" ,
603591 },
604592 "Known issue querying JSONField." : {
0 commit comments