@@ -104,6 +104,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
104104 "annotations.tests.AliasTests.test_order_by_alias" ,
105105 # annotate() + values_list() + order_by() loses annotated value.
106106 "expressions_case.tests.CaseExpressionTests.test_annotate_values_not_in_order_by" ,
107+ # Querying the reverse side of a foreign key for None returns no
108+ # results: https://github.com/mongodb-labs/django-mongodb/issues/76
109+ "one_to_one.tests.OneToOneTests.test_filter_one_to_one_relations" ,
107110 }
108111 # $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
109112 _django_test_expected_failures_bitwise = {
@@ -353,6 +356,8 @@ def django_test_expected_failures(self):
353356 "lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one_offset" ,
354357 "lookup.tests.LookupTests.test_in_different_database" ,
355358 "model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery" ,
359+ "one_to_one.tests.OneToOneTests.test_get_prefetch_queryset_warning" ,
360+ "one_to_one.tests.OneToOneTests.test_rel_pk_subquery" ,
356361 },
357362 "Count doesn't work in QuerySet.annotate()" : {
358363 "annotations.tests.AliasTests.test_alias_annotate_with_aggregation" ,
@@ -361,6 +366,9 @@ def django_test_expected_failures(self):
361366 "annotations.tests.NonAggregateAnnotationTestCase.test_annotate_with_aggregation" ,
362367 "db_functions.comparison.test_cast.CastTests.test_cast_from_db_datetime_to_date_group_by" ,
363368 },
369+ "Cannot use QuerySet.delete() when querying across multiple collections on MongoDB." : {
370+ "one_to_one.tests.OneToOneTests.test_o2o_primary_key_delete" ,
371+ },
364372 "QuerySet.dates() is not supported on MongoDB." : {
365373 "annotations.tests.AliasTests.test_dates_alias" ,
366374 "dates.tests.DatesTests.test_dates_trunc_datetime_fields" ,
0 commit comments