Skip to content

Commit 76fed07

Browse files
committed
PYTHON-4580 Pass key_expiration_ms to clientEncryption in tests
1 parent 772cceb commit 76fed07

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/asynchronous/unified_format.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ async def drop(self: AsyncGridFSBucket, *args: Any, **kwargs: Any) -> None:
378378
opts["key_vault_client"],
379379
DEFAULT_CODEC_OPTIONS,
380380
opts.get("kms_tls_options", kms_tls_options),
381+
opts.get("key_expiration_ms"),
381382
)
382383
return
383384
elif entity_type == "thread":

test/unified_format.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ def drop(self: GridFSBucket, *args: Any, **kwargs: Any) -> None:
377377
opts["key_vault_client"],
378378
DEFAULT_CODEC_OPTIONS,
379379
opts.get("kms_tls_options", kms_tls_options),
380+
opts.get("key_expiration_ms"),
380381
)
381382
return
382383
elif entity_type == "thread":

0 commit comments

Comments
 (0)