Skip to content

Commit 1706db2

Browse files
lint
1 parent 16725f8 commit 1706db2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/unit/test_streaming_client_stream_decryptor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ def test_GIVEN_materials_has_required_encryption_context_keys_attr_WHEN_read_hea
11261126
test_decryptor._read_header()
11271127

11281128
# Then: Assert correctness of partitioned EC
1129-
for k in encryption_context.keys():
1129+
for k, _ in encryption_context.items():
11301130
# If a key is in required_encryption_context_keys, then ...
11311131
if k in required_encryption_context_keys:
11321132
# ... its EC is in the StreamEncryptor._required_encryption_context

test/unit/test_streaming_client_stream_encryptor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def test_GIVEN_has_mpl_AND_encryption_materials_has_required_EC_keys_WHEN_prep_m
512512
test_encryptor._prep_message()
513513

514514
# Then: Assert correctness of partitioned EC
515-
for k in encryption_context.keys():
515+
for k, _ in encryption_context.items():
516516
# If a key is in required_encryption_context_keys, then
517517
if k in required_encryption_context_keys:
518518
# 1) Its EC is in the StreamEncryptor._required_encryption_context

0 commit comments

Comments
 (0)