File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def _has_mpl_attrs_post_init(self):
171
171
except AwsCryptographicMaterialProvidersException as mpl_exception :
172
172
# Wrap MPL error into the ESDK error type
173
173
# so customers only have to catch ESDK error types.
174
- raise AWSEncryptionSDKClientError (mpl_exception )
174
+ raise AWSEncryptionSDKClientError (mpl_exception )
175
175
176
176
def _no_mpl_attrs_post_init (self ):
177
177
"""If the MPL is NOT present in the runtime, perform post-init logic
Original file line number Diff line number Diff line change @@ -259,7 +259,8 @@ def test_keyring_client_config_with_mpl(
259
259
):
260
260
kwargs = {
261
261
"source" : b"" ,
262
- "keyring" : FakeKeyring ()
262
+ "keyring" : FakeKeyring (),
263
+ "commitment_policy" : CommitmentPolicy .REQUIRE_ENCRYPT_REQUIRE_DECRYPT
263
264
}
264
265
265
266
test = _ClientConfig (** kwargs )
You can’t perform that action at this time.
0 commit comments