@@ -104,6 +104,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
104
104
"annotations.tests.AliasTests.test_order_by_alias" ,
105
105
# annotate() + values_list() + order_by() loses annotated value.
106
106
"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" ,
107
110
}
108
111
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
109
112
_django_test_expected_failures_bitwise = {
@@ -353,6 +356,8 @@ def django_test_expected_failures(self):
353
356
"lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one_offset" ,
354
357
"lookup.tests.LookupTests.test_in_different_database" ,
355
358
"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" ,
356
361
},
357
362
"Count doesn't work in QuerySet.annotate()" : {
358
363
"annotations.tests.AliasTests.test_alias_annotate_with_aggregation" ,
@@ -361,6 +366,9 @@ def django_test_expected_failures(self):
361
366
"annotations.tests.NonAggregateAnnotationTestCase.test_annotate_with_aggregation" ,
362
367
"db_functions.comparison.test_cast.CastTests.test_cast_from_db_datetime_to_date_group_by" ,
363
368
},
369
+ "Cannot use QuerySet.delete() when querying across multiple collections on MongoDB." : {
370
+ "one_to_one.tests.OneToOneTests.test_o2o_primary_key_delete" ,
371
+ },
364
372
"QuerySet.dates() is not supported on MongoDB." : {
365
373
"annotations.tests.AliasTests.test_dates_alias" ,
366
374
"dates.tests.DatesTests.test_dates_trunc_datetime_fields" ,
0 commit comments