@@ -92,17 +92,17 @@ class DatabaseFeatures(BaseDatabaseFeatures):
9292        "schema.tests.SchemaTests.test_composed_constraint_with_fk" ,
9393        "schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index" ,
9494        "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 with a field raises  
96+         # EmptyResultSet:  https://github.com/mongodb-labs/django-mongodb/issues/155 
9797        "annotations.tests.NonAggregateAnnotationTestCase.test_empty_queryset_annotation" ,
9898        "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:  
100100        # https://github.com/mongodb-labs/django-mongodb/issues/156 
101101        "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_in_subquery_related_outerref" ,
102102        "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_in_subquery" ,
103103        "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 (casted as string):  
105+         # https://github.com/mongodb-labs/django-mongodb/issues/161  
106106        "queries.tests.RelatedLookupTypeTests.test_values_queryset_lookup" ,
107107        "queries.tests.ValuesSubqueryTests.test_values_in_subquery" ,
108108    }
@@ -218,9 +218,9 @@ def django_test_expected_failures(self):
218218        },
219219        "Test assumes integer primary key." : {
220220            "db_functions.comparison.test_cast.CastTests.test_cast_to_integer_foreign_key" ,
221+             "expressions.tests.BasicExpressionsTests.test_nested_subquery_outer_ref_with_autofield" ,
221222            "model_fields.test_foreignkey.ForeignKeyTests.test_to_python" ,
222223            "queries.test_qs_combinators.QuerySetSetOperationTests.test_order_raises_on_non_selected_column" ,
223-             "expressions.tests.BasicExpressionsTests.test_nested_subquery_outer_ref_with_autofield" ,
224224        },
225225        "Cannot use QuerySet.delete() when querying across multiple collections on MongoDB." : {
226226            "delete.tests.FastDeleteTests.test_fast_delete_aggregation" ,
@@ -241,6 +241,16 @@ def django_test_expected_failures(self):
241241            "update.tests.AdvancedTests.test_update_ordered_by_m2m_annotation" ,
242242            "update.tests.AdvancedTests.test_update_ordered_by_m2m_annotation_desc" ,
243243        },
244+         "Cannot use QuerySet.delete() when a subquery is required." : {
245+             "delete_regress.tests.DeleteTests.test_self_reference_with_through_m2m_at_second_level" ,
246+             "many_to_many.tests.ManyToManyTests.test_assign" ,
247+             "many_to_many.tests.ManyToManyTests.test_assign_ids" ,
248+             "many_to_many.tests.ManyToManyTests.test_clear" ,
249+             "many_to_many.tests.ManyToManyTests.test_remove" ,
250+             "many_to_many.tests.ManyToManyTests.test_reverse_assign_with_queryset" ,
251+             "many_to_many.tests.ManyToManyTests.test_set" ,
252+             "many_to_many.tests.ManyToManyTests.test_set_existing_different_type" ,
253+         },
244254        "QuerySet.dates() is not supported on MongoDB." : {
245255            "aggregation.tests.AggregateTestCase.test_dates_with_aggregation" ,
246256            "annotations.tests.AliasTests.test_dates_alias" ,
@@ -337,16 +347,6 @@ def django_test_expected_failures(self):
337347            "schema.tests.SchemaTests.test_rename_column_renames_deferred_sql_references" ,
338348            "schema.tests.SchemaTests.test_rename_table_renames_deferred_sql_references" ,
339349        },
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-         },
350350        "Test executes raw SQL." : {
351351            "aggregation.tests.AggregateTestCase.test_coalesced_empty_result_set" ,
352352            "aggregation_regress.tests.AggregationTests.test_annotate_with_extra" ,
0 commit comments