Skip to content

Commit b012f3b

Browse files
committed
fix SupportsQueryableEncryptionTests after removal of MongoDB 6.0
1 parent 310b8e1 commit b012f3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/backend_/test_features.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ class SupportsQueryableEncryptionTests(TestCase):
5050
def setUp(self):
5151
# Clear the cached property.
5252
connection.features.__dict__.pop("supports_queryable_encryption", None)
53-
# Must initialize the feature before patching it.
53+
# Must initialize cached properties before patching them.
5454
connection.features._supports_transactions # noqa: B018
55+
connection.features.mongodb_version # noqa: B018
5556

5657
def tearDown(self):
5758
del connection.features.supports_queryable_encryption

0 commit comments

Comments
 (0)