@@ -67,6 +67,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
67
67
"aggregation_regress.tests.AggregationTests.test_annotation" ,
68
68
"aggregation_regress.tests.AggregationTests.test_more_more3" ,
69
69
"aggregation_regress.tests.AggregationTests.test_more_more_more3" ,
70
+ # QuerySet.extra(where=...) should raise NotSupportedError instead of:
71
+ # 'ExtraWhere' object has no attribute 'as_mql'.
72
+ "many_to_one.tests.ManyToOneTests.test_selects" ,
70
73
# Incorrect JOIN with GenericRelation gives incorrect results.
71
74
"aggregation_regress.tests.AggregationTests.test_aggregation_with_generic_reverse_relation" ,
72
75
}
@@ -113,6 +116,12 @@ def django_test_expected_failures(self):
113
116
"QuerySet.prefetch_related() is not supported on MongoDB." : {
114
117
"m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_proxied" ,
115
118
"m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_reverse_proxied" ,
119
+ "many_to_many.tests.ManyToManyTests.test_add_after_prefetch" ,
120
+ "many_to_many.tests.ManyToManyTests.test_add_then_remove_after_prefetch" ,
121
+ "many_to_many.tests.ManyToManyTests.test_clear_after_prefetch" ,
122
+ "many_to_many.tests.ManyToManyTests.test_create_after_prefetch" ,
123
+ "many_to_many.tests.ManyToManyTests.test_remove_after_prefetch" ,
124
+ "many_to_many.tests.ManyToManyTests.test_set_after_prefetch" ,
116
125
"model_forms.tests.OtherModelFormTests.test_prefetch_related_queryset" ,
117
126
},
118
127
"QuerySet.update() with expression not supported." : {
@@ -184,6 +193,7 @@ def django_test_expected_failures(self):
184
193
"lookup.tests.LookupTests.test_filter_by_reverse_related_field_transform" ,
185
194
"lookup.tests.LookupTests.test_in_ignore_none_with_unhashable_items" ,
186
195
"m2m_through_regress.tests.ThroughLoadDataTestCase.test_sequence_creation" ,
196
+ "many_to_many.tests.ManyToManyTests.test_add_remove_invalid_type" ,
187
197
"model_fields.test_autofield.AutoFieldTests" ,
188
198
"model_fields.test_autofield.BigAutoFieldTests" ,
189
199
"model_fields.test_autofield.SmallAutoFieldTests" ,
@@ -241,6 +251,7 @@ def django_test_expected_failures(self):
241
251
"model_forms.tests.LimitChoicesToTests.test_limit_choices_to_callable_for_m2m_rel" ,
242
252
"model_forms.tests.LimitChoicesToTests.test_limit_choices_to_m2m_through" ,
243
253
"model_forms.tests.LimitChoicesToTests.test_limit_choices_to_no_duplicates" ,
254
+ "null_queries.tests.NullQueriesTests.test_reverse_relations" ,
244
255
"queries.tests.ExcludeTest17600.test_exclude_plain" ,
245
256
"queries.tests.ExcludeTest17600.test_exclude_with_q_is_equal_to_plain_exclude_variation" ,
246
257
"queries.tests.ExcludeTest17600.test_exclude_with_q_object_no_distinct" ,
@@ -331,6 +342,14 @@ def django_test_expected_failures(self):
331
342
"lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one" ,
332
343
"lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one_offset" ,
333
344
"lookup.tests.LookupTests.test_in_different_database" ,
345
+ "many_to_many.tests.ManyToManyTests.test_assign" ,
346
+ "many_to_many.tests.ManyToManyTests.test_assign_ids" ,
347
+ "many_to_many.tests.ManyToManyTests.test_clear" ,
348
+ "many_to_many.tests.ManyToManyTests.test_remove" ,
349
+ "many_to_many.tests.ManyToManyTests.test_reverse_assign_with_queryset" ,
350
+ "many_to_many.tests.ManyToManyTests.test_set" ,
351
+ "many_to_many.tests.ManyToManyTests.test_set_existing_different_type" ,
352
+ "many_to_one.tests.ManyToOneTests.test_get_prefetch_queryset_reverse_warning" ,
334
353
"model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery" ,
335
354
"one_to_one.tests.OneToOneTests.test_get_prefetch_queryset_warning" ,
336
355
"one_to_one.tests.OneToOneTests.test_rel_pk_subquery" ,
@@ -378,6 +397,7 @@ def django_test_expected_failures(self):
378
397
"aggregation_regress.tests.AggregationTests.test_more_more_more2" ,
379
398
"dates.tests.DatesTests.test_dates_trunc_datetime_fields" ,
380
399
"dates.tests.DatesTests.test_related_model_traverse" ,
400
+ "many_to_one.tests.ManyToOneTests.test_select_related" ,
381
401
},
382
402
"QuerySet.datetimes() is not supported on MongoDB." : {
383
403
"annotations.tests.AliasTests.test_datetimes_alias" ,
@@ -397,6 +417,9 @@ def django_test_expected_failures(self):
397
417
"aggregation_regress.tests.AggregationTests.test_conditional_aggregate_on_complex_condition" ,
398
418
"aggregation_regress.tests.AggregationTests.test_distinct_conditional_aggregate" ,
399
419
"lookup.tests.LookupTests.test_lookup_collision_distinct" ,
420
+ "many_to_many.tests.ManyToManyTests.test_reverse_selects" ,
421
+ "many_to_many.tests.ManyToManyTests.test_selects" ,
422
+ "many_to_one.tests.ManyToOneTests.test_reverse_selects" ,
400
423
"ordering.tests.OrderingTests.test_orders_nulls_first_on_filtered_subquery" ,
401
424
"queries.tests.ExcludeTest17600.test_exclude_plain_distinct" ,
402
425
"queries.tests.ExcludeTest17600.test_exclude_with_q_is_equal_to_plain_exclude" ,
0 commit comments