Skip to content

Commit a3f1aa3

Browse files
committed
Test fixed.
1 parent 0f2beae commit a3f1aa3

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

django_mongodb/features.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,15 @@ class DatabaseFeatures(BaseDatabaseFeatures):
6868
"aggregation.tests.AggregateTestCase.test_reverse_fkey_annotate",
6969
"aggregation_regress.tests.AggregationTests.test_annotation_disjunction",
7070
"aggregation_regress.tests.AggregationTests.test_decimal_aggregate_annotation_filter",
71-
# Incorrect JOIN with GenericRelation gives incorrect results.
72-
"aggregation_regress.tests.AggregationTests.test_aggregation_with_generic_reverse_relation",
73-
"generic_relations.tests.GenericRelationsTests.test_queries_content_type_restriction",
74-
"generic_relations_regress.tests.GenericRelationTests.test_annotate",
71+
# QuerySet.extra(select=...) should raise NotSupportedError instead of:
72+
# 'RawSQL' object has no attribute 'as_mql'.
73+
"aggregation_regress.tests.AggregationTests.test_annotate_with_extra",
74+
"aggregation_regress.tests.AggregationTests.test_annotation",
75+
"aggregation_regress.tests.AggregationTests.test_more_more3",
76+
"aggregation_regress.tests.AggregationTests.test_more_more_more3",
77+
# QuerySet.extra(where=...) should raise NotSupportedError instead of:
78+
# 'ExtraWhere' object has no attribute 'as_mql'.
79+
"many_to_one.tests.ManyToOneTests.test_selects",
7580
# subclasses of BaseDatabaseWrapper may require an is_usable() method
7681
"backends.tests.BackendTestCase.test_is_usable_after_database_disconnects",
7782
# Connection creation doesn't follow the usual Django API.

0 commit comments

Comments
 (0)