@@ -88,6 +88,25 @@ class DatabaseFeatures(BaseDatabaseFeatures):
88
88
# of $setIsSubset must be arrays. Second argument is of type: null"
89
89
# https://jira.mongodb.org/browse/SERVER-99186
90
90
"model_fields_.test_arrayfield.QueryingTests.test_contained_by_subquery" ,
91
+ # Broken by https://github.com/django/django/commit/65ad4ade74dc9208b9d686a451cd6045df0c9c3a
92
+ "aggregation.tests.AggregateTestCase.test_even_more_aggregate" ,
93
+ "aggregation.tests.AggregateTestCase.test_grouped_annotation_in_group_by" ,
94
+ "aggregation.tests.AggregateTestCase.test_non_grouped_annotation_not_in_group_by" ,
95
+ "aggregation_regress.tests.AggregationTests.test_aggregate_fexpr" ,
96
+ "aggregation_regress.tests.AggregationTests.test_values_list_annotation_args_ordering" ,
97
+ "annotations.tests.NonAggregateAnnotationTestCase.test_annotation_subquery_and_aggregate_values_chaining" ,
98
+ "annotations.tests.NonAggregateAnnotationTestCase.test_values_fields_annotations_order" ,
99
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_multiple_models_with_values_and_datetime_annotations" ,
100
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_multiple_models_with_values_list_and_datetime_annotations" ,
101
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_multiple_models_with_values_list_and_annotations" ,
102
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_field_and_annotation_values" ,
103
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_two_annotated_values_list" ,
104
+ "queries.tests.Queries1Tests.test_union_values_subquery" ,
105
+ # pymongo.errors.WriteError: Performing an update on the path '_id'
106
+ # would modify the immutable field '_id'
107
+ "migrations.test_operations.OperationTests.test_composite_pk_operations" ,
108
+ # JSONArray not implemented.
109
+ "db_functions.json.test_json_array.JSONArrayTests" ,
91
110
}
92
111
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
93
112
_django_test_expected_failures_bitwise = {
@@ -194,9 +213,13 @@ def django_test_expected_failures(self):
194
213
"prefetch_related.tests.Ticket21410Tests" ,
195
214
"queryset_pickle.tests.PickleabilityTestCase.test_pickle_prefetch_related_with_m2m_and_objects_deletion" ,
196
215
"serializers.test_json.JsonSerializerTestCase.test_serialize_prefetch_related_m2m" ,
216
+ "serializers.test_json.JsonSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
197
217
"serializers.test_jsonl.JsonlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
218
+ "serializers.test_jsonl.JsonlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
198
219
"serializers.test_xml.XmlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
220
+ "serializers.test_xml.XmlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
199
221
"serializers.test_yaml.YamlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
222
+ "serializers.test_yaml.YamlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
200
223
},
201
224
"AutoField not supported." : {
202
225
"bulk_create.tests.BulkCreateTests.test_bulk_insert_nullable_fields" ,
@@ -594,6 +617,9 @@ def django_test_expected_failures(self):
594
617
"foreign_object.tests.MultiColumnFKTests" ,
595
618
"foreign_object.tests.TestExtraJoinFilterQ" ,
596
619
},
620
+ "Tuple lookups are not supported." : {
621
+ "foreign_object.test_tuple_lookups.TupleLookupsTests" ,
622
+ },
597
623
"Custom lookups are not supported." : {
598
624
"custom_lookups.tests.BilateralTransformTests" ,
599
625
"custom_lookups.tests.LookupTests.test_basic_lookup" ,
0 commit comments