@@ -84,29 +84,14 @@ class DatabaseFeatures(BaseDatabaseFeatures):
84
84
"backends.tests.ThreadTests.test_pass_connection_between_threads" ,
85
85
"backends.tests.ThreadTests.test_closing_non_shared_connections" ,
86
86
"backends.tests.ThreadTests.test_default_connection_thread_local" ,
87
- # Add/RemoveIndex
88
- "migrations.test_operations.OperationTests.test_add_index" ,
89
- "migrations.test_operations.OperationTests.test_alter_field_with_index" ,
90
- "migrations.test_operations.OperationTests.test_remove_index" ,
91
- "migrations.test_operations.OperationTests.test_rename_index" ,
92
- "migrations.test_operations.OperationTests.test_rename_index_unknown_unnamed_index" ,
93
- "migrations.test_operations.OperationTests.test_rename_index_unnamed_index" ,
94
- "schema.tests.SchemaTests.test_add_remove_index" ,
95
- "schema.tests.SchemaTests.test_composed_desc_index_with_fk" ,
96
- "schema.tests.SchemaTests.test_composed_index_with_fk" ,
97
- "schema.tests.SchemaTests.test_create_index_together" ,
98
- "schema.tests.SchemaTests.test_order_index" ,
99
- "schema.tests.SchemaTests.test_text_field_with_db_index" ,
100
87
# AlterField
101
88
"schema.tests.SchemaTests.test_alter_auto_field_to_integer_field" ,
102
89
"schema.tests.SchemaTests.test_alter_field_add_index_to_integerfield" ,
103
90
"schema.tests.SchemaTests.test_alter_field_default_dropped" ,
104
- "schema.tests.SchemaTests.test_alter_field_fk_keeps_index" ,
105
91
"schema.tests.SchemaTests.test_alter_field_fk_to_o2o" ,
106
92
"schema.tests.SchemaTests.test_alter_field_o2o_keeps_unique" ,
107
93
"schema.tests.SchemaTests.test_alter_field_o2o_to_fk" ,
108
94
"schema.tests.SchemaTests.test_alter_int_pk_to_int_unique" ,
109
- "schema.tests.SchemaTests.test_alter_not_unique_field_to_primary_key" ,
110
95
"schema.tests.SchemaTests.test_alter_null_to_not_null" ,
111
96
"schema.tests.SchemaTests.test_alter_primary_key_the_same_name" ,
112
97
"schema.tests.SchemaTests.test_autofield_to_o2o" ,
@@ -131,9 +116,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
131
116
"schema.tests.SchemaTests.test_composed_constraint_with_fk" ,
132
117
"schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index" ,
133
118
"schema.tests.SchemaTests.test_unique_constraint" ,
134
- # subclasses of BaseDatabaseIntrospection may require a get_constraints() method
135
- "migrations.test_operations.OperationTests.test_add_func_unique_constraint" ,
136
- "migrations.test_operations.OperationTests.test_remove_func_unique_constraint" ,
137
119
}
138
120
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
139
121
_django_test_expected_failures_bitwise = {
@@ -236,6 +218,7 @@ def django_test_expected_failures(self):
236
218
"get_or_create.tests.GetOrCreateThroughManyToMany.test_something" ,
237
219
"get_or_create.tests.UpdateOrCreateTests.test_manual_primary_key_test" ,
238
220
"get_or_create.tests.UpdateOrCreateTestsWithManualPKs.test_create_with_duplicate_primary_key" ,
221
+ "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
239
222
"model_fields.test_filefield.FileFieldTests.test_unique_when_same_filename" ,
240
223
"one_to_one.tests.OneToOneTests.test_multiple_o2o" ,
241
224
"queries.test_bulk_update.BulkUpdateTests.test_database_routing_batch_atomicity" ,
@@ -619,14 +602,8 @@ def django_test_expected_failures(self):
619
602
"introspection.tests.IntrospectionTests.test_get_table_description_types" ,
620
603
"introspection.tests.IntrospectionTests.test_smallautofield" ,
621
604
},
622
- "DatabaseIntrospection.get_constraints() not implemented." : {
623
- "introspection.tests.IntrospectionTests.test_get_constraints" ,
624
- "introspection.tests.IntrospectionTests.test_get_constraints_index_types" ,
625
- "introspection.tests.IntrospectionTests.test_get_constraints_indexes_orders" ,
626
- "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
627
- "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
628
- },
629
605
"MongoDB can't introspect primary key." : {
606
+ "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
630
607
"schema.tests.SchemaTests.test_primary_key" ,
631
608
},
632
609
"Known issue querying JSONField." : {
0 commit comments