Skip to content

Commit 9131433

Browse files
cleanup
1 parent 0040b2c commit 9131433

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/aws_encryption_sdk/streaming_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def _has_mpl_attrs_post_init(self):
171171
except AwsCryptographicMaterialProvidersException as mpl_exception:
172172
# Wrap MPL error into the ESDK error type
173173
# so customers only have to catch ESDK error types.
174-
raise AWSEncryptionSDKClientError(mpl_exception)
174+
raise AWSEncryptionSDKClientError(mpl_exception)
175175

176176
def _no_mpl_attrs_post_init(self):
177177
"""If the MPL is NOT present in the runtime, perform post-init logic

test/unit/test_streaming_client_configs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ def test_keyring_client_config_with_mpl(
259259
):
260260
kwargs = {
261261
"source": b"",
262-
"keyring": FakeKeyring()
262+
"keyring": FakeKeyring(),
263+
"commitment_policy": CommitmentPolicy.REQUIRE_ENCRYPT_REQUIRE_DECRYPT
263264
}
264265

265266
test = _ClientConfig(**kwargs)

0 commit comments

Comments
 (0)