Skip to content

Commit 15c1963

Browse files
committed
categorize queries expected failures
1 parent a58e5e0 commit 15c1963

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

django_mongodb/features.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ class DatabaseFeatures(BaseDatabaseFeatures):
4949
"db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests.test_trunc_timezone_applied_before_truncation",
5050
# Length of null considered zero rather than null.
5151
"db_functions.text.test_length.LengthTests.test_basic",
52-
# Wrong results in queries with multiple tables.
52+
# Wrong annotations (dollar prefixed) when querying multiple tables.
5353
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_reverse_m2m",
5454
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_with_m2m",
5555
"annotations.tests.NonAggregateAnnotationTestCase.test_chaining_annotation_filter_with_m2m",
5656
"annotations.tests.NonAggregateAnnotationTestCase.test_mti_annotations",
5757
"expressions.test_queryset_values.ValuesExpressionsTests.test_values_list_expression",
5858
"expressions.test_queryset_values.ValuesExpressionsTests.test_values_list_expression_flat",
59+
# range lookup includes incorrect values
5960
"expressions.tests.IterableLookupInnerExpressionsTests.test_expressions_in_lookups_join_choice",
61+
# Unexpected alias_refcount in alias_map.
6062
"queries.tests.Queries1Tests.test_order_by_tables",
61-
"queries.tests.TestTicket24605.test_ticket_24605",
62-
"queries.tests.TestInvalidValuesRelation.test_invalid_values",
6363
# QuerySet.explain() not implemented:
6464
# https://github.com/mongodb-labs/django-mongodb/issues/28
6565
"queries.test_explain.ExplainUnsupportedTests.test_message",
@@ -185,6 +185,7 @@ def django_test_expected_failures(self):
185185
"model_fields.test_autofield.AutoFieldTests",
186186
"model_fields.test_autofield.BigAutoFieldTests",
187187
"model_fields.test_autofield.SmallAutoFieldTests",
188+
"queries.tests.TestInvalidValuesRelation.test_invalid_values",
188189
},
189190
"MongoDB does not enforce UNIQUE constraints.": {
190191
"auth_tests.test_basic.BasicTestCase.test_unicode_username",
@@ -254,6 +255,7 @@ def django_test_expected_failures(self):
254255
"queries.tests.Queries6Tests.test_tickets_8921_9188",
255256
"queries.tests.Queries6Tests.test_xor_subquery",
256257
"queries.tests.QuerySetBitwiseOperationTests.test_subquery_aliases",
258+
"queries.tests.TestTicket24605.test_ticket_24605",
257259
"queries.tests.Ticket20101Tests.test_ticket_20101",
258260
"queries.tests.Ticket20788Tests.test_ticket_20788",
259261
"queries.tests.Ticket22429Tests.test_ticket_22429",

0 commit comments

Comments
 (0)