@@ -96,6 +96,9 @@ class DatabaseFeatures(GISFeatures, BaseDatabaseFeatures):
96
96
"model_fields.test_jsonfield.TestSaveLoad.test_bulk_update_custom_get_prep_value" ,
97
97
# To debug: https://github.com/mongodb/django-mongodb-backend/issues/362
98
98
"constraints.tests.UniqueConstraintTests.test_validate_case_when" ,
99
+ # This backend overrides DatabaseCreation.create_test_db() so the
100
+ # deprecation warnings stacklevel points to the wrong file.
101
+ "backends.base.test_creation.TestDbCreationTests.test_serialize_deprecation" ,
99
102
}
100
103
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
101
104
_django_test_expected_failures_bitwise = {
@@ -198,6 +201,7 @@ def django_test_expected_failures(self):
198
201
"prefetch_related.tests.LookupOrderingTest.test_order" ,
199
202
"prefetch_related.tests.MultiDbTests.test_using_is_honored_m2m" ,
200
203
"prefetch_related.tests.MultiTableInheritanceTest" ,
204
+ "prefetch_related.tests.PrefetchRelatedMTICacheTests" ,
201
205
"prefetch_related.tests.PrefetchRelatedTests" ,
202
206
"prefetch_related.tests.ReadPrefetchedObjectsCacheTests" ,
203
207
"prefetch_related.tests.Ticket21410Tests" ,
@@ -560,6 +564,7 @@ def django_test_expected_failures(self):
560
564
"Custom lookups are not supported." : {
561
565
"custom_lookups.tests.BilateralTransformTests" ,
562
566
"custom_lookups.tests.LookupTests.test_basic_lookup" ,
567
+ "custom_lookups.tests.LookupTests.test_custom_lookup_with_subquery" ,
563
568
"custom_lookups.tests.LookupTests.test_custom_name_lookup" ,
564
569
"custom_lookups.tests.LookupTests.test_div3_extract" ,
565
570
"custom_lookups.tests.SubqueryTransformTests.test_subquery_usage" ,
@@ -577,6 +582,9 @@ def django_test_expected_failures(self):
577
582
"test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_database_queries" ,
578
583
"test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_thread_database_connection" ,
579
584
},
585
+ "search lookup not supported on non-Atlas." : {
586
+ "expressions.tests.BasicExpressionsTests.test_lookups_subquery" ,
587
+ },
580
588
}
581
589
582
590
@cached_property
0 commit comments