Skip to content

Commit bb9c47a

Browse files
committed
More fixes
1 parent d4b0158 commit bb9c47a

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
@@ -270,7 +270,7 @@ def test_sub_collection(self):
270270
@env.require_no_standalone
271271
@asyncio_test
272272
async def test_async_create_encrypted_collection(self):
273-
c = self.collection
273+
c = self.cx
274274
KMS_PROVIDERS = {"local": {"key": b"\x00" * 96}}
275275
self.cx.drop_database("db")
276276
async with AsyncIOMotorClientEncryption(

test/tornado_tests/test_motor_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def test_sub_collection(self):
272272
@gen_test
273273
async def test_async_create_encrypted_collection(self):
274274
await self.db.drop_collection("test_collection")
275-
c = self.collection
275+
c = self.cx
276276
KMS_PROVIDERS = {"local": {"key": b"\x00" * 96}}
277277
self.cx.drop_database("db")
278278
async with motor.MotorClientEncryption(

0 commit comments

Comments
 (0)