We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f700158 commit 4f0878dCopy full SHA for 4f0878d
test/test_encryption.py
@@ -1211,9 +1211,9 @@ def test_05_aws_endpoint_wrong_region(self):
1211
}
1212
# The full error should be something like:
1213
# "Credential should be scoped to a valid region, not 'us-east-1'"
1214
- # but we only check for "us-east-1" to avoid breaking on slight
+ # but we only check for EncryptionError to avoid breaking on slight
1215
# changes to AWS' error message.
1216
- with self.assertRaisesRegex(EncryptionError, "us-east-1"):
+ with self.assertRaises(EncryptionError):
1217
self.client_encryption.create_data_key("aws", master_key=master_key)
1218
1219
@unittest.skipUnless(any(AWS_CREDS.values()), "AWS environment credentials are not set")
0 commit comments