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 49c3f9f commit 3cb16caCopy full SHA for 3cb16ca
test/test_encryption.py
@@ -1310,9 +1310,9 @@ def test_05_aws_endpoint_wrong_region(self):
1310
}
1311
# The full error should be something like:
1312
# "Credential should be scoped to a valid region, not 'us-east-1'"
1313
- # but we only check for "us-east-1" to avoid breaking on slight
+ # but we only check for EncryptionError to avoid breaking on slight
1314
# changes to AWS' error message.
1315
- with self.assertRaisesRegex(EncryptionError, "us-east-1"):
+ with self.assertRaises(EncryptionError):
1316
self.client_encryption.create_data_key("aws", master_key=master_key)
1317
1318
@unittest.skipUnless(any(AWS_CREDS.values()), "AWS environment credentials are not set")
0 commit comments