@@ -59,6 +59,18 @@ class DatabaseFeatures(BaseDatabaseFeatures):
59
59
"aggregation.tests.AggregateTestCase.test_aggregation_default_passed_another_aggregate" ,
60
60
"aggregation.tests.AggregateTestCase.test_annotation_expressions" ,
61
61
"aggregation.tests.AggregateTestCase.test_reverse_fkey_annotate" ,
62
+ "aggregation_regress.tests.AggregationTests.test_annotation_disjunction" ,
63
+ "aggregation_regress.tests.AggregationTests.test_decimal_aggregate_annotation_filter" ,
64
+ # Invalid $project :: caused by :: Path collision at aggregation_regress_publisher.name
65
+ "aggregation_regress.tests.AggregationTests.test_values_list_annotation_args_ordering" ,
66
+ # QuerySet.extra(select=...) should raise NotSupportedError instead of:
67
+ # 'RawSQL' object has no attribute 'as_mql'.
68
+ "aggregation_regress.tests.AggregationTests.test_annotate_with_extra" ,
69
+ "aggregation_regress.tests.AggregationTests.test_annotation" ,
70
+ "aggregation_regress.tests.AggregationTests.test_more_more3" ,
71
+ "aggregation_regress.tests.AggregationTests.test_more_more_more3" ,
72
+ # Incorrect JOIN with GenericRelation gives incorrect results.
73
+ "aggregation_regress.tests.AggregationTests.test_aggregation_with_generic_reverse_relation" ,
62
74
}
63
75
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
64
76
_django_test_expected_failures_bitwise = {
@@ -208,6 +220,7 @@ def django_test_expected_failures(self):
208
220
"aggregation.tests.AggregateTestCase.test_exists_extra_where_with_aggregate" ,
209
221
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_exists_aggregate_values_chaining" ,
210
222
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_exists_none_query" ,
223
+ "aggregation_regress.tests.AggregationTests.test_annotate_and_join" ,
211
224
"delete_regress.tests.DeleteTests.test_self_reference_with_through_m2m_at_second_level" ,
212
225
"expressions.tests.BasicExpressionsTests.test_annotation_with_deeply_nested_outerref" ,
213
226
"expressions.tests.BasicExpressionsTests.test_boolean_expression_combined" ,
@@ -297,6 +310,13 @@ def django_test_expected_failures(self):
297
310
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_in_subquery" ,
298
311
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_related_in_subquery" ,
299
312
"annotations.tests.NonAggregateAnnotationTestCase.test_empty_expression_annotation" ,
313
+ "aggregation_regress.tests.AggregationTests.test_aggregates_in_where_clause" ,
314
+ "aggregation_regress.tests.AggregationTests.test_aggregates_in_where_clause_pre_eval" ,
315
+ "aggregation_regress.tests.AggregationTests.test_f_expression_annotation" ,
316
+ "aggregation_regress.tests.AggregationTests.test_having_subquery_select" ,
317
+ "aggregation_regress.tests.AggregationTests.test_more_more4" ,
318
+ "aggregation_regress.tests.AggregationTests.test_more_more_more5" ,
319
+ "aggregation_regress.tests.AggregationTests.test_negated_aggregation" ,
300
320
"db_functions.comparison.test_coalesce.CoalesceTests.test_empty_queryset" ,
301
321
"expressions_case.tests.CaseExpressionTests.test_annotate_with_in_clause" ,
302
322
"expressions.tests.FTimeDeltaTests.test_date_subquery_subtraction" ,
@@ -351,6 +371,7 @@ def django_test_expected_failures(self):
351
371
"QuerySet.dates() is not supported on MongoDB." : {
352
372
"aggregation.tests.AggregateTestCase.test_dates_with_aggregation" ,
353
373
"annotations.tests.AliasTests.test_dates_alias" ,
374
+ "aggregation_regress.tests.AggregationTests.test_more_more_more2" ,
354
375
"dates.tests.DatesTests.test_dates_trunc_datetime_fields" ,
355
376
"dates.tests.DatesTests.test_related_model_traverse" ,
356
377
},
@@ -368,6 +389,9 @@ def django_test_expected_failures(self):
368
389
},
369
390
"QuerySet.distinct() is not supported." : {
370
391
"aggregation.tests.AggregateTestCase.test_sum_distinct_aggregate" ,
392
+ "aggregation_regress.tests.AggregationTests.test_annotate_distinct_aggregate" ,
393
+ "aggregation_regress.tests.AggregationTests.test_conditional_aggregate_on_complex_condition" ,
394
+ "aggregation_regress.tests.AggregationTests.test_distinct_conditional_aggregate" ,
371
395
"lookup.tests.LookupTests.test_lookup_collision_distinct" ,
372
396
"ordering.tests.OrderingTests.test_orders_nulls_first_on_filtered_subquery" ,
373
397
"queries.tests.ExcludeTest17600.test_exclude_plain_distinct" ,
0 commit comments