Skip to content

Commit 274ee5a

Browse files
committed
MOTOR-1363 - Pass correct parameter to AsyncIOMotorClientEncryption
1 parent 7050d54 commit 274ee5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/asyncio_tests/test_asyncio_cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ async def test_context_manager(self):
585585

586586
@asyncio_test
587587
async def test_generate_keys(self):
588-
c = self.collection
588+
c = self.cx
589589
KMS_PROVIDERS = {"local": {"key": b"\x00" * 96}}
590590

591591
async with motor_asyncio.AsyncIOMotorClientEncryption(

0 commit comments

Comments
 (0)