@@ -109,6 +109,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
109
109
"annotations.tests.AliasTests.test_order_by_alias" ,
110
110
# annotate() + values_list() + order_by() loses annotated value.
111
111
"expressions_case.tests.CaseExpressionTests.test_annotate_values_not_in_order_by" ,
112
+ # Querying the reverse side of a foreign key for None returns no
113
+ # results: https://github.com/mongodb-labs/django-mongodb/issues/76
114
+ "one_to_one.tests.OneToOneTests.test_filter_one_to_one_relations" ,
112
115
}
113
116
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
114
117
_django_test_expected_failures_bitwise = {
@@ -358,6 +361,8 @@ def django_test_expected_failures(self):
358
361
"lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one_offset" ,
359
362
"lookup.tests.LookupTests.test_in_different_database" ,
360
363
"model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery" ,
364
+ "one_to_one.tests.OneToOneTests.test_get_prefetch_queryset_warning" ,
365
+ "one_to_one.tests.OneToOneTests.test_rel_pk_subquery" ,
361
366
},
362
367
"Count doesn't work in QuerySet.annotate()" : {
363
368
"annotations.tests.AliasTests.test_alias_annotate_with_aggregation" ,
@@ -366,6 +371,9 @@ def django_test_expected_failures(self):
366
371
"annotations.tests.NonAggregateAnnotationTestCase.test_annotate_with_aggregation" ,
367
372
"db_functions.comparison.test_cast.CastTests.test_cast_from_db_datetime_to_date_group_by" ,
368
373
},
374
+ "Cannot use QuerySet.delete() when querying across multiple collections on MongoDB." : {
375
+ "one_to_one.tests.OneToOneTests.test_o2o_primary_key_delete" ,
376
+ },
369
377
"QuerySet.dates() is not supported on MongoDB." : {
370
378
"annotations.tests.AliasTests.test_dates_alias" ,
371
379
"dates.tests.DatesTests.test_dates_trunc_datetime_fields" ,
0 commit comments