@@ -99,6 +99,18 @@ class DatabaseFeatures(GISFeatures, BaseDatabaseFeatures):
9999 "model_fields.test_jsonfield.TestSaveLoad.test_bulk_update_custom_get_prep_value" ,
100100 # To debug: https://github.com/mongodb/django-mongodb-backend/issues/362
101101 "constraints.tests.UniqueConstraintTests.test_validate_case_when" ,
102+ # StringAgg is not supported.
103+ "aggregation.tests.AggregateTestCase.test_distinct_on_stringagg" ,
104+ "aggregation.tests.AggregateTestCase.test_string_agg_escapes_delimiter" ,
105+ "aggregation.tests.AggregateTestCase.test_string_agg_filter" ,
106+ "aggregation.tests.AggregateTestCase.test_string_agg_filter_in_subquery" ,
107+ "aggregation.tests.AggregateTestCase.test_stringagg_default_value" ,
108+ # bulk_create() population of _order not implemented.
109+ # https://github.com/django/django/commit/953095d1e603fe0f8f01175b1409ca23818dcff9
110+ "contenttypes_tests.test_order_with_respect_to.OrderWithRespectToGFKTests.test_bulk_create_allows_duplicate_order_values" ,
111+ "contenttypes_tests.test_order_with_respect_to.OrderWithRespectToGFKTests.test_bulk_create_mixed_scenario" ,
112+ "contenttypes_tests.test_order_with_respect_to.OrderWithRespectToGFKTests.test_bulk_create_respects_mixed_manual_order" ,
113+ "contenttypes_tests.test_order_with_respect_to.OrderWithRespectToGFKTests.test_bulk_create_with_existing_children" ,
102114 }
103115 # $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
104116 _django_test_expected_failures_bitwise = {
@@ -139,6 +151,7 @@ def django_test_expected_failures(self):
139151 "validation.test_unique.PerformUniqueChecksTest.test_unique_db_default" ,
140152 },
141153 "Insert expressions aren't supported." : {
154+ "basic.tests.ModelTest.test_save_expressions" ,
142155 "bulk_create.tests.BulkCreateTests.test_bulk_insert_now" ,
143156 "bulk_create.tests.BulkCreateTests.test_bulk_insert_expressions" ,
144157 "expressions.tests.BasicExpressionsTests.test_new_object_create" ,
@@ -201,6 +214,7 @@ def django_test_expected_failures(self):
201214 "prefetch_related.tests.LookupOrderingTest.test_order" ,
202215 "prefetch_related.tests.MultiDbTests.test_using_is_honored_m2m" ,
203216 "prefetch_related.tests.MultiTableInheritanceTest" ,
217+ "prefetch_related.tests.PrefetchRelatedMTICacheTests" ,
204218 "prefetch_related.tests.PrefetchRelatedTests" ,
205219 "prefetch_related.tests.ReadPrefetchedObjectsCacheTests" ,
206220 "prefetch_related.tests.Ticket21410Tests" ,
@@ -563,6 +577,7 @@ def django_test_expected_failures(self):
563577 "Custom lookups are not supported." : {
564578 "custom_lookups.tests.BilateralTransformTests" ,
565579 "custom_lookups.tests.LookupTests.test_basic_lookup" ,
580+ "custom_lookups.tests.LookupTests.test_custom_lookup_with_subquery" ,
566581 "custom_lookups.tests.LookupTests.test_custom_name_lookup" ,
567582 "custom_lookups.tests.LookupTests.test_div3_extract" ,
568583 "custom_lookups.tests.SubqueryTransformTests.test_subquery_usage" ,
@@ -580,6 +595,9 @@ def django_test_expected_failures(self):
580595 "test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_database_queries" ,
581596 "test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_thread_database_connection" ,
582597 },
598+ "search lookup not supported on non-Atlas." : {
599+ "expressions.tests.BasicExpressionsTests.test_lookups_subquery" ,
600+ },
583601 }
584602
585603 @cached_property
0 commit comments