@@ -83,23 +83,14 @@ class DatabaseFeatures(BaseDatabaseFeatures):
83
83
"backends.tests.ThreadTests.test_pass_connection_between_threads" ,
84
84
"backends.tests.ThreadTests.test_closing_non_shared_connections" ,
85
85
"backends.tests.ThreadTests.test_default_connection_thread_local" ,
86
- # Add/RemoveIndex
87
- "schema.tests.SchemaTests.test_add_remove_index" ,
88
- "schema.tests.SchemaTests.test_composed_desc_index_with_fk" ,
89
- "schema.tests.SchemaTests.test_composed_index_with_fk" ,
90
- "schema.tests.SchemaTests.test_create_index_together" ,
91
- "schema.tests.SchemaTests.test_order_index" ,
92
- "schema.tests.SchemaTests.test_text_field_with_db_index" ,
93
86
# AlterField
94
87
"schema.tests.SchemaTests.test_alter_auto_field_to_integer_field" ,
95
88
"schema.tests.SchemaTests.test_alter_field_add_index_to_integerfield" ,
96
89
"schema.tests.SchemaTests.test_alter_field_default_dropped" ,
97
- "schema.tests.SchemaTests.test_alter_field_fk_keeps_index" ,
98
90
"schema.tests.SchemaTests.test_alter_field_fk_to_o2o" ,
99
91
"schema.tests.SchemaTests.test_alter_field_o2o_keeps_unique" ,
100
92
"schema.tests.SchemaTests.test_alter_field_o2o_to_fk" ,
101
93
"schema.tests.SchemaTests.test_alter_int_pk_to_int_unique" ,
102
- "schema.tests.SchemaTests.test_alter_not_unique_field_to_primary_key" ,
103
94
"schema.tests.SchemaTests.test_alter_null_to_not_null" ,
104
95
"schema.tests.SchemaTests.test_alter_primary_key_the_same_name" ,
105
96
"schema.tests.SchemaTests.test_autofield_to_o2o" ,
@@ -118,6 +109,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
118
109
"schema.tests.SchemaTests.test_composed_constraint_with_fk" ,
119
110
"schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index" ,
120
111
"schema.tests.SchemaTests.test_unique_constraint" ,
112
+ # constraints not fully implemented.
113
+ "introspection.tests.IntrospectionTests.test_get_constraints" ,
121
114
}
122
115
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
123
116
_django_test_expected_failures_bitwise = {
@@ -204,6 +197,7 @@ def django_test_expected_failures(self):
204
197
"get_or_create.tests.GetOrCreateThroughManyToMany.test_something" ,
205
198
"get_or_create.tests.UpdateOrCreateTests.test_manual_primary_key_test" ,
206
199
"get_or_create.tests.UpdateOrCreateTestsWithManualPKs.test_create_with_duplicate_primary_key" ,
200
+ "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
207
201
"model_fields.test_filefield.FileFieldTests.test_unique_when_same_filename" ,
208
202
"one_to_one.tests.OneToOneTests.test_multiple_o2o" ,
209
203
"queries.test_bulk_update.BulkUpdateTests.test_database_routing_batch_atomicity" ,
@@ -584,14 +578,8 @@ def django_test_expected_failures(self):
584
578
"introspection.tests.IntrospectionTests.test_get_table_description_types" ,
585
579
"introspection.tests.IntrospectionTests.test_smallautofield" ,
586
580
},
587
- "DatabaseIntrospection.get_constraints() not implemented." : {
588
- "introspection.tests.IntrospectionTests.test_get_constraints" ,
589
- "introspection.tests.IntrospectionTests.test_get_constraints_index_types" ,
590
- "introspection.tests.IntrospectionTests.test_get_constraints_indexes_orders" ,
591
- "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
592
- "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
593
- },
594
581
"MongoDB can't introspect primary key." : {
582
+ "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
595
583
"schema.tests.SchemaTests.test_primary_key" ,
596
584
},
597
585
"Known issue querying JSONField." : {
0 commit comments