Skip to content

Commit 114b72f

Browse files
aclark4lifetimgraham
authored andcommitted
Skip raw_query tests with params
1 parent d260ea6 commit 114b72f

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
@@ -81,9 +81,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
8181
"auth_tests.test_views.LoginTest.test_login_session_without_hash_session_key",
8282
# GenericRelation.value_to_string() assumes integer pk.
8383
"contenttypes_tests.test_fields.GenericRelationTests.test_value_to_string",
84-
# INTPYTHON-348 add support for QuerySet.raw_mql()
85-
# https://github.com/mongodb-labs/django-mongodb/pull/183
86-
# "raw_query.tests.RawQueryTests",
8784
}
8885
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
8986
_django_test_expected_failures_bitwise = {
@@ -415,6 +412,10 @@ def django_test_expected_failures(self):
415412
"model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_raw_expression",
416413
"multiple_database.tests.QueryTestCase.test_raw",
417414
"prefetch_related.tests.RawQuerySetTests",
415+
"raw_query.tests.RawQueryTests.test_params",
416+
"raw_query.tests.RawQueryTests.test_params_none",
417+
"raw_query.tests.RawQueryTests.test_escaped_percent",
418+
"raw_query.tests.RawQueryTests.test_pyformat_params",
418419
"queries.tests.Queries1Tests.test_order_by_rawsql",
419420
"schema.test_logging.SchemaLoggerTests.test_extra_args",
420421
"schema.tests.SchemaTests.test_remove_constraints_capital_letters",

0 commit comments

Comments
 (0)