Skip to content

categorize queries expected failures #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions django_mongodb/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,18 @@ class DatabaseFeatures(BaseDatabaseFeatures):
"db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests.test_trunc_timezone_applied_before_truncation",
# Length of null considered zero rather than null.
"db_functions.text.test_length.LengthTests.test_basic",
# Wrong results in queries with multiple tables.
# Wrong annotation names in $project (dollar prefixed) when querying
# multiple collections.
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_reverse_m2m",
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_with_m2m",
"annotations.tests.NonAggregateAnnotationTestCase.test_chaining_annotation_filter_with_m2m",
"annotations.tests.NonAggregateAnnotationTestCase.test_mti_annotations",
"expressions.test_queryset_values.ValuesExpressionsTests.test_values_list_expression",
"expressions.test_queryset_values.ValuesExpressionsTests.test_values_list_expression_flat",
# range lookup includes incorrect values.
"expressions.tests.IterableLookupInnerExpressionsTests.test_expressions_in_lookups_join_choice",
# Unexpected alias_refcount in alias_map.
"queries.tests.Queries1Tests.test_order_by_tables",
"queries.tests.TestTicket24605.test_ticket_24605",
"queries.tests.TestInvalidValuesRelation.test_invalid_values",
# QuerySet.explain() not implemented:
# https://github.com/mongodb-labs/django-mongodb/issues/28
"queries.test_explain.ExplainUnsupportedTests.test_message",
Expand Down Expand Up @@ -185,6 +186,7 @@ def django_test_expected_failures(self):
"model_fields.test_autofield.AutoFieldTests",
"model_fields.test_autofield.BigAutoFieldTests",
"model_fields.test_autofield.SmallAutoFieldTests",
"queries.tests.TestInvalidValuesRelation.test_invalid_values",
},
"MongoDB does not enforce UNIQUE constraints.": {
"auth_tests.test_basic.BasicTestCase.test_unicode_username",
Expand Down Expand Up @@ -254,6 +256,7 @@ def django_test_expected_failures(self):
"queries.tests.Queries6Tests.test_tickets_8921_9188",
"queries.tests.Queries6Tests.test_xor_subquery",
"queries.tests.QuerySetBitwiseOperationTests.test_subquery_aliases",
"queries.tests.TestTicket24605.test_ticket_24605",
"queries.tests.Ticket20101Tests.test_ticket_20101",
"queries.tests.Ticket20788Tests.test_ticket_20788",
"queries.tests.Ticket22429Tests.test_ticket_22429",
Expand Down