@@ -88,6 +88,36 @@ 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" ,
110
+ # Some usage of prefetch_related() raises "ColPairs is not supported."
111
+ "known_related_objects.tests.ExistingRelatedInstancesTests.test_one_to_one_multi_prefetch_related" ,
112
+ "known_related_objects.tests.ExistingRelatedInstancesTests.test_one_to_one_prefetch_related" ,
113
+ "prefetch_related.tests.DeprecationTests.test_prefetch_one_level_fallback" ,
114
+ "prefetch_related.tests.MultiDbTests.test_using_is_honored_fkey" ,
115
+ "prefetch_related.tests.MultiDbTests.test_using_is_honored_inheritance" ,
116
+ "prefetch_related.tests.NestedPrefetchTests.test_nested_prefetch_is_not_overwritten_by_related_object" ,
117
+ "prefetch_related.tests.NullableTest.test_prefetch_nullable" ,
118
+ "prefetch_related.tests.Ticket19607Tests.test_bug" ,
119
+ # 'ColPairs' object has no attribute 'as_mql'
120
+ "auth_tests.test_views.CustomUserCompositePrimaryKeyPasswordResetTest.test_confirm_valid_custom_user" ,
91
121
}
92
122
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
93
123
_django_test_expected_failures_bitwise = {
@@ -112,6 +142,7 @@ def django_test_expected_failures(self):
112
142
# bson.errors.InvalidDocument: cannot encode object:
113
143
# <django.db.models.expressions.DatabaseDefault
114
144
"basic.tests.ModelInstanceCreationTests.test_save_primary_with_db_default" ,
145
+ "basic.tests.ModelInstanceCreationTests.test_save_primary_with_falsey_db_default" ,
115
146
"constraints.tests.UniqueConstraintTests.test_database_default" ,
116
147
"field_defaults.tests.DefaultTests" ,
117
148
"migrations.test_operations.OperationTests.test_add_field_both_defaults" ,
@@ -194,9 +225,13 @@ def django_test_expected_failures(self):
194
225
"prefetch_related.tests.Ticket21410Tests" ,
195
226
"queryset_pickle.tests.PickleabilityTestCase.test_pickle_prefetch_related_with_m2m_and_objects_deletion" ,
196
227
"serializers.test_json.JsonSerializerTestCase.test_serialize_prefetch_related_m2m" ,
228
+ "serializers.test_json.JsonSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
197
229
"serializers.test_jsonl.JsonlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
230
+ "serializers.test_jsonl.JsonlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
198
231
"serializers.test_xml.XmlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
232
+ "serializers.test_xml.XmlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
199
233
"serializers.test_yaml.YamlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
234
+ "serializers.test_yaml.YamlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
200
235
},
201
236
"AutoField not supported." : {
202
237
"bulk_create.tests.BulkCreateTests.test_bulk_insert_nullable_fields" ,
@@ -594,6 +629,9 @@ def django_test_expected_failures(self):
594
629
"foreign_object.tests.MultiColumnFKTests" ,
595
630
"foreign_object.tests.TestExtraJoinFilterQ" ,
596
631
},
632
+ "Tuple lookups are not supported." : {
633
+ "foreign_object.test_tuple_lookups.TupleLookupsTests" ,
634
+ },
597
635
"Custom lookups are not supported." : {
598
636
"custom_lookups.tests.BilateralTransformTests" ,
599
637
"custom_lookups.tests.LookupTests.test_basic_lookup" ,
0 commit comments