diff --git a/django_mongodb/features.py b/django_mongodb/features.py index 1eaf9130e..b85ac4221 100644 --- a/django_mongodb/features.py +++ b/django_mongodb/features.py @@ -42,11 +42,6 @@ class DatabaseFeatures(BaseDatabaseFeatures): "ordering.tests.OrderingTests.test_order_by_f_expression", "ordering.tests.OrderingTests.test_order_by_f_expression_duplicates", "ordering.tests.OrderingTests.test_reverse_ordering_pure", - # annotate() after values() doesn't raise NotSupportedError. - "lookup.tests.LookupTests.test_exact_query_rhs_with_selected_columns", - # tuple index out of range in process_rhs() - "lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one", - "lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one_offset", # Pattern lookups that use regexMatch don't work on JSONField: # Unsupported conversion from array to string in $convert "model_fields.test_jsonfield.TestQuerying.test_icontains", @@ -242,8 +237,6 @@ def django_test_expected_failures(self): "expressions_case.tests.CaseExpressionTests.test_order_by_conditional_implicit", "model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_count", "ordering.tests.OrderingTests.test_order_by_constant_value", - # annotate().filter().count() gives incorrect results. - "db_functions.datetime.test_extract_trunc.DateFunctionTests.test_extract_year_exact_lookup", }, "Exists is not supported on MongoDB.": { "annotations.tests.NonAggregateAnnotationTestCase.test_annotation_exists_none_query", @@ -264,6 +257,9 @@ def django_test_expected_failures(self): "annotations.tests.NonAggregateAnnotationTestCase.test_empty_expression_annotation", "db_functions.comparison.test_coalesce.CoalesceTests.test_empty_queryset", "expressions_case.tests.CaseExpressionTests.test_in_subquery", + "lookup.tests.LookupTests.test_exact_query_rhs_with_selected_columns", + "lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one", + "lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one_offset", "lookup.tests.LookupTests.test_in_different_database", "model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery", },