@@ -77,29 +77,13 @@ class DatabaseFeatures(BaseDatabaseFeatures):
77
77
"backends.tests.ThreadTests.test_closing_non_shared_connections" ,
78
78
"backends.tests.ThreadTests.test_default_connection_thread_local" ,
79
79
# AddField
80
- "schema.tests.SchemaTests.test_add_indexed_charfield" ,
81
80
"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" ,
95
81
# AlterField
96
82
"schema.tests.SchemaTests.test_alter_field_add_index_to_integerfield" ,
97
- "schema.tests.SchemaTests.test_alter_field_fk_keeps_index" ,
98
83
"schema.tests.SchemaTests.test_alter_field_fk_to_o2o" ,
99
84
"schema.tests.SchemaTests.test_alter_field_o2o_keeps_unique" ,
100
85
"schema.tests.SchemaTests.test_alter_field_o2o_to_fk" ,
101
86
"schema.tests.SchemaTests.test_alter_int_pk_to_int_unique" ,
102
- "schema.tests.SchemaTests.test_alter_not_unique_field_to_primary_key" ,
103
87
# AlterField (db_index)
104
88
"schema.tests.SchemaTests.test_alter_renames_index" ,
105
89
"schema.tests.SchemaTests.test_indexes" ,
@@ -121,9 +105,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
121
105
"schema.tests.SchemaTests.test_composed_constraint_with_fk" ,
122
106
"schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index" ,
123
107
"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" ,
127
108
}
128
109
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
129
110
_django_test_expected_failures_bitwise = {
@@ -227,6 +208,7 @@ def django_test_expected_failures(self):
227
208
"get_or_create.tests.GetOrCreateThroughManyToMany.test_something" ,
228
209
"get_or_create.tests.UpdateOrCreateTests.test_manual_primary_key_test" ,
229
210
"get_or_create.tests.UpdateOrCreateTestsWithManualPKs.test_create_with_duplicate_primary_key" ,
211
+ "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
230
212
"model_fields.test_filefield.FileFieldTests.test_unique_when_same_filename" ,
231
213
"one_to_one.tests.OneToOneTests.test_multiple_o2o" ,
232
214
"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