@@ -145,6 +145,7 @@ def django_test_expected_failures(self):
145
145
"expressions.tests.BasicExpressionsTests.test_object_create_with_aggregate" ,
146
146
"expressions.tests.BasicExpressionsTests.test_object_create_with_f_expression_in_subquery" ,
147
147
# PI()
148
+ "aggregation.tests.AggregateTestCase.test_aggregation_default_using_decimal_from_database" ,
148
149
"db_functions.math.test_round.RoundTests.test_decimal_with_precision" ,
149
150
"db_functions.math.test_round.RoundTests.test_float_with_precision" ,
150
151
},
@@ -292,8 +293,13 @@ def django_test_expected_failures(self):
292
293
"timezones.tests.NewDatabaseTests.test_query_annotation" ,
293
294
},
294
295
"Exists is not supported on MongoDB." : {
296
+ "aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_on_exists" ,
295
297
"aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_ref_multiple_subquery_annotation" ,
296
298
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_exists_none_query" ,
299
+ "aggregation.tests.AggregateTestCase.test_aggregation_exists_multivalued_outeref" ,
300
+ "aggregation.tests.AggregateTestCase.test_group_by_exists_annotation" ,
301
+ "aggregation.tests.AggregateTestCase.test_exists_none_with_aggregate" ,
302
+ "aggregation.tests.AggregateTestCase.test_exists_extra_where_with_aggregate" ,
297
303
"delete_regress.tests.DeleteTests.test_self_reference_with_through_m2m_at_second_level" ,
298
304
"expressions.tests.BasicExpressionsTests.test_annotation_with_deeply_nested_outerref" ,
299
305
"expressions.tests.BasicExpressionsTests.test_boolean_expression_combined" ,
@@ -373,6 +379,9 @@ def django_test_expected_failures(self):
373
379
"aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_ref_subquery_annotation" ,
374
380
},
375
381
"Using a QuerySet in annotate() is not supported on MongoDB." : {
382
+ "aggregation.tests.AggregateTestCase.test_filter_in_subquery_or_aggregation" ,
383
+ "aggregation.tests.AggregateTestCase.test_group_by_subquery_annotation" ,
384
+ "aggregation.tests.AggregateTestCase.test_group_by_reference_subquery" ,
376
385
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_in_subquery" ,
377
386
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_related_in_subquery" ,
378
387
"annotations.tests.NonAggregateAnnotationTestCase.test_empty_expression_annotation" ,
@@ -446,6 +455,7 @@ def django_test_expected_failures(self):
446
455
"one_to_one.tests.OneToOneTests.test_o2o_primary_key_delete" ,
447
456
},
448
457
"QuerySet.dates() is not supported on MongoDB." : {
458
+ "aggregation.tests.AggregateTestCase.test_dates_with_aggregation" ,
449
459
"annotations.tests.AliasTests.test_dates_alias" ,
450
460
"dates.tests.DatesTests.test_dates_trunc_datetime_fields" ,
451
461
"dates.tests.DatesTests.test_related_model_traverse" ,
@@ -517,6 +527,9 @@ def django_test_expected_failures(self):
517
527
"update.tests.AdvancedTests.test_update_annotated_multi_table_queryset" ,
518
528
},
519
529
"Test inspects query for SQL" : {
530
+ "aggregation.tests.AggregateAnnotationPruningTests.test_unreferenced_aggregate_annotation_pruned" ,
531
+ "aggregation.tests.AggregateAnnotationPruningTests.test_unused_aliased_aggregate_pruned" ,
532
+ "aggregation.tests.AggregateAnnotationPruningTests.test_referenced_aggregate_annotation_kept" ,
520
533
"aggregation.tests.AggregateTestCase.test_count_star" ,
521
534
"delete.tests.DeletionTests.test_only_referenced_fields_selected" ,
522
535
"lookup.tests.LookupTests.test_in_ignore_none" ,
@@ -626,35 +639,12 @@ def django_test_expected_failures(self):
626
639
},
627
640
"Test not applicable for MongoDB's SQLCompiler." : {
628
641
"queries.test_iterator.QuerySetIteratorTests" ,
629
- },
630
- "skip agg" : {
631
- "aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_on_exists" ,
632
642
# Custom aggregations:
633
643
"aggregation.tests.AggregateAnnotationPruningTests.test_non_aggregate_annotation_pruned" ,
634
644
"aggregation.tests.AggregateTestCase.test_add_implementation" ,
635
645
"aggregation.tests.AggregateTestCase.test_aggregation_default_using_datetime_from_database" ,
636
646
"aggregation.tests.AggregateTestCase.test_multi_arg_aggregate" ,
637
- # SQL custom values.
638
647
"aggregation.tests.AggregateTestCase.test_aggregation_default_using_date_from_database" ,
639
- # No sql generate
640
- "aggregation.tests.AggregateAnnotationPruningTests.test_unreferenced_aggregate_annotation_pruned" ,
641
- "aggregation.tests.AggregateAnnotationPruningTests.test_unused_aliased_aggregate_pruned" ,
642
- # PI expression:
643
- "aggregation.tests.AggregateTestCase.test_aggregation_default_using_decimal_from_database" ,
644
- # check sql query performance
645
- "aggregation.tests.AggregateAnnotationPruningTests.test_referenced_aggregate_annotation_kept" ,
646
- # Using a QuerySet in annotate() is not supported on MongoDB
647
- "aggregation.tests.AggregateTestCase.test_group_by_subquery_annotation" ,
648
- # Query set with annotate not supported.
649
- "aggregation.tests.AggregateTestCase.test_group_by_reference_subquery" ,
650
- "aggregation.tests.AggregateTestCase.test_filter_in_subquery_or_aggregation" ,
651
- # Exists is not supported in mongodb
652
- "aggregation.tests.AggregateTestCase.test_aggregation_exists_multivalued_outeref" ,
653
- "aggregation.tests.AggregateTestCase.test_group_by_exists_annotation" ,
654
- "aggregation.tests.AggregateTestCase.test_exists_none_with_aggregate" ,
655
- "aggregation.tests.AggregateTestCase.test_exists_extra_where_with_aggregate" ,
656
- # Queryset dates not supported
657
- "aggregation.tests.AggregateTestCase.test_dates_with_aggregation" ,
658
648
},
659
649
}
660
650
0 commit comments