Skip to content

Commit e1eabad

Browse files
committed
Fix test_async_encrypt_expression
1 parent dc3c68b commit e1eabad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asyncio_tests/test_asyncio_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ async def test_async_create_encrypted_collection(self):
290290
@env.require_version_min(8, 0, -1, -1)
291291
@asyncio_test
292292
async def test_async_encrypt_expression(self):
293-
c = self.collection
293+
c = self.cx
294294
KMS_PROVIDERS = {"local": {"key": b"\x00" * 96}}
295295
self.cx.drop_database("db")
296296
async with AsyncIOMotorClientEncryption(

test/tornado_tests/test_motor_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ async def test_async_create_encrypted_collection(self):
292292
@env.require_version_min(8, 0, -1, -1)
293293
@gen_test
294294
async def test_async_encrypt_expression(self):
295-
c = self.collection
295+
c = self.cx
296296
KMS_PROVIDERS = {"local": {"key": b"\x00" * 96}}
297297
self.cx.drop_database("db")
298298
async with motor.MotorClientEncryption(

0 commit comments

Comments
 (0)