Skip to content

Commit 8f6c07f

Browse files
committed
Skip raw_query tests with params
1 parent a2008bf commit 8f6c07f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

django_mongodb/features.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ 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",
9289
}
9390
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
9491
_django_test_expected_failures_bitwise = {
@@ -420,6 +417,10 @@ def django_test_expected_failures(self):
420417
"model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_raw_expression",
421418
"multiple_database.tests.QueryTestCase.test_raw",
422419
"prefetch_related.tests.RawQuerySetTests",
420+
"raw_query.tests.RawQueryTests.test_params",
421+
"raw_query.tests.RawQueryTests.test_params_none",
422+
"raw_query.tests.RawQueryTests.test_escaped_percent",
423+
"raw_query.tests.RawQueryTests.test_pyformat_params",
423424
"queries.tests.Queries1Tests.test_order_by_rawsql",
424425
"schema.test_logging.SchemaLoggerTests.test_extra_args",
425426
"schema.tests.SchemaTests.test_remove_constraints_capital_letters",

0 commit comments

Comments
 (0)