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