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