@@ -139,6 +139,7 @@ def django_test_expected_failures(self):
139
139
"expressions.tests.BasicExpressionsTests.test_object_create_with_aggregate" ,
140
140
"expressions.tests.BasicExpressionsTests.test_object_create_with_f_expression_in_subquery" ,
141
141
# PI()
142
+ "aggregation.tests.AggregateTestCase.test_aggregation_default_using_decimal_from_database" ,
142
143
"db_functions.math.test_round.RoundTests.test_decimal_with_precision" ,
143
144
"db_functions.math.test_round.RoundTests.test_float_with_precision" ,
144
145
},
@@ -286,8 +287,13 @@ def django_test_expected_failures(self):
286
287
"timezones.tests.NewDatabaseTests.test_query_annotation" ,
287
288
},
288
289
"Exists is not supported on MongoDB." : {
290
+ "aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_on_exists" ,
289
291
"aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_ref_multiple_subquery_annotation" ,
290
292
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_exists_none_query" ,
293
+ "aggregation.tests.AggregateTestCase.test_aggregation_exists_multivalued_outeref" ,
294
+ "aggregation.tests.AggregateTestCase.test_group_by_exists_annotation" ,
295
+ "aggregation.tests.AggregateTestCase.test_exists_none_with_aggregate" ,
296
+ "aggregation.tests.AggregateTestCase.test_exists_extra_where_with_aggregate" ,
291
297
"delete_regress.tests.DeleteTests.test_self_reference_with_through_m2m_at_second_level" ,
292
298
"expressions.tests.BasicExpressionsTests.test_annotation_with_deeply_nested_outerref" ,
293
299
"expressions.tests.BasicExpressionsTests.test_boolean_expression_combined" ,
@@ -367,6 +373,9 @@ def django_test_expected_failures(self):
367
373
"aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_ref_subquery_annotation" ,
368
374
},
369
375
"Using a QuerySet in annotate() is not supported on MongoDB." : {
376
+ "aggregation.tests.AggregateTestCase.test_filter_in_subquery_or_aggregation" ,
377
+ "aggregation.tests.AggregateTestCase.test_group_by_subquery_annotation" ,
378
+ "aggregation.tests.AggregateTestCase.test_group_by_reference_subquery" ,
370
379
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_in_subquery" ,
371
380
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_related_in_subquery" ,
372
381
"annotations.tests.NonAggregateAnnotationTestCase.test_empty_expression_annotation" ,
@@ -444,6 +453,7 @@ def django_test_expected_failures(self):
444
453
"queries.tests.Queries5Tests.test_ticket9848" ,
445
454
},
446
455
"QuerySet.dates() is not supported on MongoDB." : {
456
+ "aggregation.tests.AggregateTestCase.test_dates_with_aggregation" ,
447
457
"annotations.tests.AliasTests.test_dates_alias" ,
448
458
"dates.tests.DatesTests.test_dates_trunc_datetime_fields" ,
449
459
"dates.tests.DatesTests.test_related_model_traverse" ,
@@ -515,6 +525,9 @@ def django_test_expected_failures(self):
515
525
"update.tests.AdvancedTests.test_update_annotated_multi_table_queryset" ,
516
526
},
517
527
"Test inspects query for SQL" : {
528
+ "aggregation.tests.AggregateAnnotationPruningTests.test_unreferenced_aggregate_annotation_pruned" ,
529
+ "aggregation.tests.AggregateAnnotationPruningTests.test_unused_aliased_aggregate_pruned" ,
530
+ "aggregation.tests.AggregateAnnotationPruningTests.test_referenced_aggregate_annotation_kept" ,
518
531
"aggregation.tests.AggregateTestCase.test_count_star" ,
519
532
"delete.tests.DeletionTests.test_only_referenced_fields_selected" ,
520
533
"lookup.tests.LookupTests.test_in_ignore_none" ,
@@ -624,35 +637,12 @@ def django_test_expected_failures(self):
624
637
},
625
638
"Test not applicable for MongoDB's SQLCompiler." : {
626
639
"queries.test_iterator.QuerySetIteratorTests" ,
627
- },
628
- "skip agg" : {
629
- "aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_on_exists" ,
630
640
# Custom aggregations:
631
641
"aggregation.tests.AggregateAnnotationPruningTests.test_non_aggregate_annotation_pruned" ,
632
642
"aggregation.tests.AggregateTestCase.test_add_implementation" ,
633
643
"aggregation.tests.AggregateTestCase.test_aggregation_default_using_datetime_from_database" ,
634
644
"aggregation.tests.AggregateTestCase.test_multi_arg_aggregate" ,
635
- # SQL custom values.
636
645
"aggregation.tests.AggregateTestCase.test_aggregation_default_using_date_from_database" ,
637
- # No sql generate
638
- "aggregation.tests.AggregateAnnotationPruningTests.test_unreferenced_aggregate_annotation_pruned" ,
639
- "aggregation.tests.AggregateAnnotationPruningTests.test_unused_aliased_aggregate_pruned" ,
640
- # PI expression:
641
- "aggregation.tests.AggregateTestCase.test_aggregation_default_using_decimal_from_database" ,
642
- # check sql query performance
643
- "aggregation.tests.AggregateAnnotationPruningTests.test_referenced_aggregate_annotation_kept" ,
644
- # Using a QuerySet in annotate() is not supported on MongoDB
645
- "aggregation.tests.AggregateTestCase.test_group_by_subquery_annotation" ,
646
- # Query set with annotate not supported.
647
- "aggregation.tests.AggregateTestCase.test_group_by_reference_subquery" ,
648
- "aggregation.tests.AggregateTestCase.test_filter_in_subquery_or_aggregation" ,
649
- # Exists is not supported in mongodb
650
- "aggregation.tests.AggregateTestCase.test_aggregation_exists_multivalued_outeref" ,
651
- "aggregation.tests.AggregateTestCase.test_group_by_exists_annotation" ,
652
- "aggregation.tests.AggregateTestCase.test_exists_none_with_aggregate" ,
653
- "aggregation.tests.AggregateTestCase.test_exists_extra_where_with_aggregate" ,
654
- # Queryset dates not supported
655
- "aggregation.tests.AggregateTestCase.test_dates_with_aggregation" ,
656
646
},
657
647
}
658
648
0 commit comments