Skip to content

Commit 8e31bb6

Browse files
committed
INTPYTHON-348 add support for QuerySet.raw_mql()
- Move raw_query to expected test failures
1 parent 51ef179 commit 8e31bb6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

django_mongodb/features.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
8686
"auth_tests.test_views.LoginTest.test_login_session_without_hash_session_key",
8787
# GenericRelation.value_to_string() assumes integer pk.
8888
"contenttypes_tests.test_fields.GenericRelationTests.test_value_to_string",
89+
# INTPYTHON-348 add support for QuerySet.raw_mql()
90+
# https://github.com/mongodb-labs/django-mongodb/pull/183
91+
"raw_query.tests.RawQueryTests",
8992
}
9093
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
9194
_django_test_expected_failures_bitwise = {
@@ -418,7 +421,6 @@ def django_test_expected_failures(self):
418421
"multiple_database.tests.QueryTestCase.test_raw",
419422
"prefetch_related.tests.RawQuerySetTests",
420423
"queries.tests.Queries1Tests.test_order_by_rawsql",
421-
"raw_query.tests.RawQueryTests",
422424
"schema.test_logging.SchemaLoggerTests.test_extra_args",
423425
"schema.tests.SchemaTests.test_remove_constraints_capital_letters",
424426
"timezones.tests.LegacyDatabaseTests.test_cursor_execute_accepts_naive_datetime",

0 commit comments

Comments
 (0)