Skip to content

Commit 7212626

Browse files
m
1 parent 7221587 commit 7212626

File tree

1 file changed

+5
-4
lines changed
  • test_vector_handlers/src/awses_test_vectors/manifests/full_message

1 file changed

+5
-4
lines changed

test_vector_handlers/src/awses_test_vectors/manifests/full_message/decrypt.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,15 @@ def master_key_provider_fn():
330330
# If unspecified, set "Default" as the default
331331
cmm_type = "Default"
332332

333-
# If this scenario does not have any key providers,
334-
# do not create a scenario.
335-
# Caller logic should expect `None` to mean "no scenario".
336333
try:
334+
# If this scenario does not have any key providers,
335+
# do not create a scenario.
336+
# Caller logic should expect `None` to mean "no scenario".
337337
if master_key_provider_fn() is None:
338338
return None
339339
except Exception as e:
340+
# If there is some exception when loading the key, continue to create the test scenario.
341+
# Some test scenarios have bad keys that should fail during the test execution.
340342
pass
341343

342344
return cls(
@@ -628,7 +630,6 @@ def from_file(cls, input_file, keyrings):
628630
keys_abs_path = os.path.join(parent_dir, keys_filename)
629631

630632
raw_keys_manifest = json.loads(root_reader(keys_uri).decode(ENCODING))
631-
print("yes")
632633
keys = KeysManifest.from_manifest_spec(raw_keys_manifest)
633634

634635
client_name = raw_manifest["client"]["name"] # type: str

0 commit comments

Comments
 (0)