@@ -40,6 +40,12 @@ class DatabaseFeatures(BaseDatabaseFeatures):
40
40
uses_savepoints = False
41
41
42
42
_django_test_expected_failures = {
43
+ # $concat only supports strings, not int
44
+ "db_functions.text.test_concat.ConcatTests.test_concat_non_str" ,
45
+ # QuerySet.order_by() with annotation transform doesn't work:
46
+ # "Expression $mod takes exactly 2 arguments. 1 were passed in"
47
+ # https://github.com/django/django/commit/b0ad41198b3e333f57351e3fce5a1fb47f23f376
48
+ "aggregation.tests.AggregateTestCase.test_order_by_aggregate_transform" ,
43
49
# 'NulledTransform' object has no attribute 'as_mql'.
44
50
"lookup.tests.LookupTests.test_exact_none_transform" ,
45
51
# "Save with update_fields did not affect any rows."
@@ -70,6 +76,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
70
76
# Connection creation doesn't follow the usual Django API.
71
77
"backends.tests.ThreadTests.test_pass_connection_between_threads" ,
72
78
"backends.tests.ThreadTests.test_default_connection_thread_local" ,
79
+ "test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_thread_database_connection" ,
73
80
# Object of type ObjectId is not JSON serializable.
74
81
"auth_tests.test_views.LoginTest.test_login_session_without_hash_session_key" ,
75
82
# GenericRelation.value_to_string() assumes integer pk.
@@ -164,6 +171,7 @@ def django_test_expected_failures(self):
164
171
"fixtures.tests.FixtureLoadingTests.test_loading_and_dumping" ,
165
172
"m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_proxied" ,
166
173
"m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_reverse_proxied" ,
174
+ "many_to_many.tests.ManyToManyQueryTests.test_prefetch_related_no_queries_optimization_disabled" ,
167
175
"many_to_many.tests.ManyToManyTests.test_add_after_prefetch" ,
168
176
"many_to_many.tests.ManyToManyTests.test_add_then_remove_after_prefetch" ,
169
177
"many_to_many.tests.ManyToManyTests.test_clear_after_prefetch" ,
@@ -375,7 +383,11 @@ def django_test_expected_failures(self):
375
383
"delete.tests.DeletionTests.test_only_referenced_fields_selected" ,
376
384
"expressions.tests.ExistsTests.test_optimizations" ,
377
385
"lookup.tests.LookupTests.test_in_ignore_none" ,
386
+ "lookup.tests.LookupTests.test_lookup_direct_value_rhs_unwrapped" ,
378
387
"lookup.tests.LookupTests.test_textfield_exact_null" ,
388
+ "many_to_many.tests.ManyToManyQueryTests.test_count_join_optimization_disabled" ,
389
+ "many_to_many.tests.ManyToManyQueryTests.test_exists_join_optimization_disabled" ,
390
+ "many_to_many.tests.ManyToManyTests.test_custom_default_manager_exists_count" ,
379
391
"migrations.test_commands.MigrateTests.test_migrate_syncdb_app_label" ,
380
392
"migrations.test_commands.MigrateTests.test_migrate_syncdb_deferred_sql_executed_with_schemaeditor" ,
381
393
"queries.tests.ExistsSql.test_exists" ,
@@ -423,6 +435,7 @@ def django_test_expected_failures(self):
423
435
"raw_query.tests.RawQueryTests" ,
424
436
"schema.test_logging.SchemaLoggerTests.test_extra_args" ,
425
437
"schema.tests.SchemaTests.test_remove_constraints_capital_letters" ,
438
+ "test_utils.tests.AllowedDatabaseQueriesTests.test_allowed_database_copy_queries" ,
426
439
"timezones.tests.LegacyDatabaseTests.test_cursor_execute_accepts_naive_datetime" ,
427
440
"timezones.tests.LegacyDatabaseTests.test_cursor_execute_returns_naive_datetime" ,
428
441
"timezones.tests.LegacyDatabaseTests.test_raw_sql" ,
0 commit comments