@@ -79,29 +79,13 @@ class DatabaseFeatures(BaseDatabaseFeatures):
79
79
"backends.tests.ThreadTests.test_closing_non_shared_connections" ,
80
80
"backends.tests.ThreadTests.test_default_connection_thread_local" ,
81
81
# AddField
82
- "schema.tests.SchemaTests.test_add_indexed_charfield" ,
83
82
"schema.tests.SchemaTests.test_add_unique_charfield" ,
84
- # Add/RemoveIndex
85
- "migrations.test_operations.OperationTests.test_add_index" ,
86
- "migrations.test_operations.OperationTests.test_alter_field_with_index" ,
87
- "migrations.test_operations.OperationTests.test_remove_index" ,
88
- "migrations.test_operations.OperationTests.test_rename_index" ,
89
- "migrations.test_operations.OperationTests.test_rename_index_unknown_unnamed_index" ,
90
- "migrations.test_operations.OperationTests.test_rename_index_unnamed_index" ,
91
- "schema.tests.SchemaTests.test_add_remove_index" ,
92
- "schema.tests.SchemaTests.test_composed_desc_index_with_fk" ,
93
- "schema.tests.SchemaTests.test_composed_index_with_fk" ,
94
- "schema.tests.SchemaTests.test_create_index_together" ,
95
- "schema.tests.SchemaTests.test_order_index" ,
96
- "schema.tests.SchemaTests.test_text_field_with_db_index" ,
97
83
# AlterField
98
84
"schema.tests.SchemaTests.test_alter_field_add_index_to_integerfield" ,
99
- "schema.tests.SchemaTests.test_alter_field_fk_keeps_index" ,
100
85
"schema.tests.SchemaTests.test_alter_field_fk_to_o2o" ,
101
86
"schema.tests.SchemaTests.test_alter_field_o2o_keeps_unique" ,
102
87
"schema.tests.SchemaTests.test_alter_field_o2o_to_fk" ,
103
88
"schema.tests.SchemaTests.test_alter_int_pk_to_int_unique" ,
104
- "schema.tests.SchemaTests.test_alter_not_unique_field_to_primary_key" ,
105
89
# AlterField (db_index)
106
90
"schema.tests.SchemaTests.test_alter_renames_index" ,
107
91
"schema.tests.SchemaTests.test_indexes" ,
@@ -123,9 +107,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
123
107
"schema.tests.SchemaTests.test_composed_constraint_with_fk" ,
124
108
"schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index" ,
125
109
"schema.tests.SchemaTests.test_unique_constraint" ,
126
- # subclasses of BaseDatabaseIntrospection may require a get_constraints() method
127
- "migrations.test_operations.OperationTests.test_add_func_unique_constraint" ,
128
- "migrations.test_operations.OperationTests.test_remove_func_unique_constraint" ,
129
110
}
130
111
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
131
112
_django_test_expected_failures_bitwise = {
@@ -229,6 +210,7 @@ def django_test_expected_failures(self):
229
210
"get_or_create.tests.GetOrCreateThroughManyToMany.test_something" ,
230
211
"get_or_create.tests.UpdateOrCreateTests.test_manual_primary_key_test" ,
231
212
"get_or_create.tests.UpdateOrCreateTestsWithManualPKs.test_create_with_duplicate_primary_key" ,
213
+ "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
232
214
"model_fields.test_filefield.FileFieldTests.test_unique_when_same_filename" ,
233
215
"one_to_one.tests.OneToOneTests.test_multiple_o2o" ,
234
216
"queries.test_bulk_update.BulkUpdateTests.test_database_routing_batch_atomicity" ,
@@ -618,14 +600,8 @@ def django_test_expected_failures(self):
618
600
"introspection.tests.IntrospectionTests.test_get_table_description_types" ,
619
601
"introspection.tests.IntrospectionTests.test_smallautofield" ,
620
602
},
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
- },
628
603
"MongoDB can't introspect primary key." : {
604
+ "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
629
605
"schema.tests.SchemaTests.test_alter_primary_key_the_same_name" ,
630
606
"schema.tests.SchemaTests.test_primary_key" ,
631
607
},
0 commit comments