@@ -46,6 +46,12 @@ class DatabaseFeatures(BaseDatabaseFeatures):
46
46
uses_savepoints = False
47
47
48
48
_django_test_expected_failures = {
49
+ # $concat only supports strings, not int
50
+ "db_functions.text.test_concat.ConcatTests.test_concat_non_str" ,
51
+ # QuerySet.order_by() with annotation transform doesn't work:
52
+ # "Expression $mod takes exactly 2 arguments. 1 were passed in"
53
+ # https://github.com/django/django/commit/b0ad41198b3e333f57351e3fce5a1fb47f23f376
54
+ "aggregation.tests.AggregateTestCase.test_order_by_aggregate_transform" ,
49
55
# 'NulledTransform' object has no attribute 'as_mql'.
50
56
"lookup.tests.LookupTests.test_exact_none_transform" ,
51
57
# "Save with update_fields did not affect any rows."
@@ -78,6 +84,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
78
84
# Connection creation doesn't follow the usual Django API.
79
85
"backends.tests.ThreadTests.test_pass_connection_between_threads" ,
80
86
"backends.tests.ThreadTests.test_default_connection_thread_local" ,
87
+ "test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_thread_database_connection" ,
81
88
# Object of type ObjectId is not JSON serializable.
82
89
"auth_tests.test_views.LoginTest.test_login_session_without_hash_session_key" ,
83
90
# GenericRelation.value_to_string() assumes integer pk.
@@ -170,6 +177,7 @@ def django_test_expected_failures(self):
170
177
"fixtures.tests.FixtureLoadingTests.test_loading_and_dumping" ,
171
178
"m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_proxied" ,
172
179
"m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_reverse_proxied" ,
180
+ "many_to_many.tests.ManyToManyQueryTests.test_prefetch_related_no_queries_optimization_disabled" ,
173
181
"many_to_many.tests.ManyToManyTests.test_add_after_prefetch" ,
174
182
"many_to_many.tests.ManyToManyTests.test_add_then_remove_after_prefetch" ,
175
183
"many_to_many.tests.ManyToManyTests.test_clear_after_prefetch" ,
@@ -381,7 +389,11 @@ def django_test_expected_failures(self):
381
389
"delete.tests.DeletionTests.test_only_referenced_fields_selected" ,
382
390
"expressions.tests.ExistsTests.test_optimizations" ,
383
391
"lookup.tests.LookupTests.test_in_ignore_none" ,
392
+ "lookup.tests.LookupTests.test_lookup_direct_value_rhs_unwrapped" ,
384
393
"lookup.tests.LookupTests.test_textfield_exact_null" ,
394
+ "many_to_many.tests.ManyToManyQueryTests.test_count_join_optimization_disabled" ,
395
+ "many_to_many.tests.ManyToManyQueryTests.test_exists_join_optimization_disabled" ,
396
+ "many_to_many.tests.ManyToManyTests.test_custom_default_manager_exists_count" ,
385
397
"migrations.test_commands.MigrateTests.test_migrate_syncdb_app_label" ,
386
398
"migrations.test_commands.MigrateTests.test_migrate_syncdb_deferred_sql_executed_with_schemaeditor" ,
387
399
"queries.tests.ExistsSql.test_exists" ,
@@ -429,6 +441,7 @@ def django_test_expected_failures(self):
429
441
"raw_query.tests.RawQueryTests" ,
430
442
"schema.test_logging.SchemaLoggerTests.test_extra_args" ,
431
443
"schema.tests.SchemaTests.test_remove_constraints_capital_letters" ,
444
+ "test_utils.tests.AllowedDatabaseQueriesTests.test_allowed_database_copy_queries" ,
432
445
"timezones.tests.LegacyDatabaseTests.test_cursor_execute_accepts_naive_datetime" ,
433
446
"timezones.tests.LegacyDatabaseTests.test_cursor_execute_returns_naive_datetime" ,
434
447
"timezones.tests.LegacyDatabaseTests.test_raw_sql" ,
0 commit comments