@@ -92,17 +92,17 @@ class DatabaseFeatures(BaseDatabaseFeatures):
92
92
"schema.tests.SchemaTests.test_composed_constraint_with_fk" ,
93
93
"schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index" ,
94
94
"schema.tests.SchemaTests.test_unique_constraint" ,
95
- # Handle column default value.
96
- # https://github.com/mongodb-labs/django-mongodb/issues/155
95
+ # Column default values aren't handled when a field raises
96
+ # EmptyResultSet: https://github.com/mongodb-labs/django-mongodb/issues/155
97
97
"annotations.tests.NonAggregateAnnotationTestCase.test_empty_queryset_annotation" ,
98
98
"db_functions.comparison.test_coalesce.CoalesceTests.test_empty_queryset" ,
99
- # Union as subquery is not mapping the parent parameter and collections.
99
+ # Union as subquery is not mapping the parent parameter and collections:
100
100
# https://github.com/mongodb-labs/django-mongodb/issues/156
101
101
"queries.test_qs_combinators.QuerySetSetOperationTests.test_union_in_subquery_related_outerref" ,
102
102
"queries.test_qs_combinators.QuerySetSetOperationTests.test_union_in_subquery" ,
103
103
"queries.test_qs_combinators.QuerySetSetOperationTests.test_union_in_with_ordering" ,
104
- # ObjectId type mismatch in a subquery (casted as string).
105
- # TODO: Create a ticket.
104
+ # ObjectId type mismatch in a subquery:
105
+ # https://github.com/mongodb-labs/django-mongodb/issues/161
106
106
"queries.tests.RelatedLookupTypeTests.test_values_queryset_lookup" ,
107
107
"queries.tests.ValuesSubqueryTests.test_values_in_subquery" ,
108
108
}
@@ -218,9 +218,9 @@ def django_test_expected_failures(self):
218
218
},
219
219
"Test assumes integer primary key." : {
220
220
"db_functions.comparison.test_cast.CastTests.test_cast_to_integer_foreign_key" ,
221
+ "expressions.tests.BasicExpressionsTests.test_nested_subquery_outer_ref_with_autofield" ,
221
222
"model_fields.test_foreignkey.ForeignKeyTests.test_to_python" ,
222
223
"queries.test_qs_combinators.QuerySetSetOperationTests.test_order_raises_on_non_selected_column" ,
223
- "expressions.tests.BasicExpressionsTests.test_nested_subquery_outer_ref_with_autofield" ,
224
224
},
225
225
"Cannot use QuerySet.delete() when querying across multiple collections on MongoDB." : {
226
226
"delete.tests.FastDeleteTests.test_fast_delete_aggregation" ,
@@ -233,6 +233,16 @@ def django_test_expected_failures(self):
233
233
"delete_regress.tests.Ticket19102Tests.test_ticket_19102_select_related" ,
234
234
"one_to_one.tests.OneToOneTests.test_o2o_primary_key_delete" ,
235
235
},
236
+ "Cannot use QuerySet.delete() when a subquery is required." : {
237
+ "delete_regress.tests.DeleteTests.test_self_reference_with_through_m2m_at_second_level" ,
238
+ "many_to_many.tests.ManyToManyTests.test_assign" ,
239
+ "many_to_many.tests.ManyToManyTests.test_assign_ids" ,
240
+ "many_to_many.tests.ManyToManyTests.test_clear" ,
241
+ "many_to_many.tests.ManyToManyTests.test_remove" ,
242
+ "many_to_many.tests.ManyToManyTests.test_reverse_assign_with_queryset" ,
243
+ "many_to_many.tests.ManyToManyTests.test_set" ,
244
+ "many_to_many.tests.ManyToManyTests.test_set_existing_different_type" ,
245
+ },
236
246
"Cannot use QuerySet.update() when querying across multiple collections on MongoDB." : {
237
247
"expressions.tests.BasicExpressionsTests.test_filter_with_join" ,
238
248
"queries.tests.Queries4Tests.test_ticket7095" ,
@@ -337,16 +347,6 @@ def django_test_expected_failures(self):
337
347
"schema.tests.SchemaTests.test_rename_column_renames_deferred_sql_references" ,
338
348
"schema.tests.SchemaTests.test_rename_table_renames_deferred_sql_references" ,
339
349
},
340
- "Cannot use QuerySet.delete() when a subquery is required." : {
341
- "delete_regress.tests.DeleteTests.test_self_reference_with_through_m2m_at_second_level" ,
342
- "many_to_many.tests.ManyToManyTests.test_assign" ,
343
- "many_to_many.tests.ManyToManyTests.test_assign_ids" ,
344
- "many_to_many.tests.ManyToManyTests.test_clear" ,
345
- "many_to_many.tests.ManyToManyTests.test_remove" ,
346
- "many_to_many.tests.ManyToManyTests.test_reverse_assign_with_queryset" ,
347
- "many_to_many.tests.ManyToManyTests.test_set" ,
348
- "many_to_many.tests.ManyToManyTests.test_set_existing_different_type" ,
349
- },
350
350
"Test executes raw SQL." : {
351
351
"aggregation.tests.AggregateTestCase.test_coalesced_empty_result_set" ,
352
352
"aggregation_regress.tests.AggregationTests.test_annotate_with_extra" ,
0 commit comments