File tree 2 files changed +5
-2
lines changed
src/aws_encryption_sdk/internal
test_vector_handlers/src/awses_test_vectors/manifests/full_message 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11
11
pass
12
12
13
13
14
- def value_is_not_a_string (instance , attribute , value ):
14
+ # The unused-argument check is disabled because
15
+ # this function MUST match the function signature
16
+ # for attrs validators.
17
+ def value_is_not_a_string (instance , attribute , value ): # pylint: disable=unused-argument
15
18
# type: (Any, attr.Attribute, Any) -> None
16
19
"""Technically a string is an iterable containing strings.
17
20
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def run(self, name):
157
157
"""
158
158
plaintext , _header = aws_encryption_sdk .decrypt (source = self .ciphertext , key_provider = self .master_key_provider )
159
159
if plaintext != self .plaintext :
160
- raise ValueError ("Decrypted plaintext does not match expected value." )
160
+ raise ValueError ("Decrypted plaintext does not match expected value for scenario '{}'" . format ( name ) )
161
161
162
162
163
163
@attr .s (init = False )
You can’t perform that action at this time.
0 commit comments