@@ -46,6 +46,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
46
46
"lookup.tests.LookupTests.test_pattern_lookups_with_substr" ,
47
47
# Querying ObjectID with string doesn't work.
48
48
"lookup.tests.LookupTests.test_lookup_int_as_str" ,
49
+ "model_fields.test_jsonfield.TestQuerying.test_icontains"
49
50
# MongoDB gives the wrong result of log(number, base) when base is a
50
51
# fractional Decimal: https://jira.mongodb.org/browse/SERVER-91223
51
52
"db_functions.math.test_log.LogTests.test_decimal" ,
@@ -61,6 +62,10 @@ class DatabaseFeatures(BaseDatabaseFeatures):
61
62
"model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery" ,
62
63
# Length of null considered zero rather than null.
63
64
"db_functions.text.test_length.LengthTests.test_basic" ,
65
+ # Django-mongo does not differentiate well between joins and key transforms.
66
+ "model_fields.test_jsonfield.TestQuerying.test_order_grouping_custom_decoder" ,
67
+ "model_fields.test_jsonfield.TestQuerying.test_ordering_by_transform" ,
68
+ "model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_key_transform" ,
64
69
}
65
70
66
71
django_test_skips = {
@@ -177,6 +182,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
177
182
"db_functions.datetime.test_extract_trunc.DateFunctionTests.test_extract_outerref" ,
178
183
"db_functions.datetime.test_extract_trunc.DateFunctionTests.test_trunc_subquery_with_parameters" ,
179
184
"lookup.tests.LookupQueryingTests.test_filter_subquery_lhs" ,
185
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_on_subquery" ,
186
+ "model_fields.test_jsonfield.TestQuerying.test_obj_subquery_lookup" ,
180
187
# ExpressionWrapper not supported.
181
188
"annotations.tests.NonAggregateAnnotationTestCase.test_combined_expression_annotation_with_aggregation" ,
182
189
"annotations.tests.NonAggregateAnnotationTestCase.test_combined_f_expression_annotation_with_aggregation" ,
@@ -204,9 +211,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
204
211
"annotations.tests.NonAggregateAnnotationTestCase.test_order_by_annotation" ,
205
212
# annotate().filter().count() gives incorrect results.
206
213
"db_functions.datetime.test_extract_trunc.DateFunctionTests.test_extract_year_exact_lookup" ,
207
- "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_on_subquery" ,
214
+ # FieldDoesNotExist with ordering.
208
215
"model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_count" ,
209
- "model_fields.test_jsonfield.TestQuerying.test_obj_subquery_lookup" ,
210
216
},
211
217
"Count doesn't work in QuerySet.annotate()" : {
212
218
"annotations.tests.AliasTests.test_alias_annotate_with_aggregation" ,
@@ -273,6 +279,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
273
279
"lookup.tests.LookupTests.test_lookup_rhs" ,
274
280
"lookup.tests.LookupTests.test_isnull_non_boolean_value" ,
275
281
"model_fields.test_manytomanyfield.ManyToManyFieldDBTests.test_value_from_object_instance_with_pk" ,
282
+ "model_fields.test_jsonfield.TestQuerying.test_join_key_transform_annotation_expression" ,
276
283
"model_fields.test_uuid.TestAsPrimaryKey.test_two_level_foreign_keys" ,
277
284
"timezones.tests.LegacyDatabaseTests.test_query_annotation" ,
278
285
"timezones.tests.NewDatabaseTests.test_query_annotation" ,
@@ -284,10 +291,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
284
291
"update.tests.SimpleTest.test_empty_update_with_inheritance" ,
285
292
"update.tests.SimpleTest.test_foreign_key_update_with_id" ,
286
293
"update.tests.SimpleTest.test_nonempty_update_with_inheritance" ,
287
- "model_fields.test_jsonfield.TestQuerying.test_join_key_transform_annotation_expression" ,
288
- "model_fields.test_jsonfield.TestQuerying.test_order_grouping_custom_decoder" ,
289
- "model_fields.test_jsonfield.TestQuerying.test_ordering_by_transform" ,
290
- "model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_key_transform" ,
291
294
},
292
295
"Test inspects query for SQL" : {
293
296
"lookup.tests.LookupTests.test_in_ignore_none" ,
@@ -368,5 +371,4 @@ class DatabaseFeatures(BaseDatabaseFeatures):
368
371
"model_fields.test_jsonfield.TestQuerying.test_none_key" ,
369
372
"model_fields.test_jsonfield.TestQuerying.test_none_key_exclude" ,
370
373
},
371
- "Pipeline filtering" : {"model_fields.test_jsonfield.TestQuerying.test_icontains" },
372
374
}
0 commit comments