Skip to content

Commit 0286742

Browse files
cleanup
1 parent 677d6b3 commit 0286742

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

examples/src/migration/migration_aws_kms_key_example.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ def migration_aws_kms_key(
152152
# that the encryption context used in the decrypt operation
153153
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
154154
assert all(
155-
pair in decrypted_header_keyring_using_mkp.encryption_context.items() \
156-
for pair in enc_header_keyring.encryption_context.items()
155+
pair in decrypted_header_keyring_using_mkp.encryption_context.items()
156+
for pair in enc_header_keyring.encryption_context.items()
157157
)
158158

159159
assert decrypted_ciphertext_keyring_using_keyring == decrypted_ciphertext_keyring_using_mkp \
@@ -179,8 +179,8 @@ def migration_aws_kms_key(
179179
# that the encryption context used in the decrypt operation
180180
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
181181
assert all(
182-
pair in decrypted_header_mkp_using_mkp.encryption_context.items() \
183-
for pair in enc_header_mkp.encryption_context.items()
182+
pair in decrypted_header_mkp_using_mkp.encryption_context.items()
183+
for pair in enc_header_mkp.encryption_context.items()
184184
)
185185

186186
assert decrypted_ciphertext_mkp_using_keyring == decrypted_ciphertext_mkp_using_mkp \

examples/src/migration/migration_raw_aes_key_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def migration_raw_aes_key():
193193
# that the encryption context used in the decrypt operation
194194
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
195195
assert all(
196-
pair in decrypted_header_keyring_using_mkp.encryption_context.items() \
196+
pair in decrypted_header_keyring_using_mkp.encryption_context.items()
197197
for pair in enc_header_keyring.encryption_context.items()
198198
)
199199

@@ -220,8 +220,8 @@ def migration_raw_aes_key():
220220
# that the encryption context used in the decrypt operation
221221
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
222222
assert all(
223-
pair in decrypted_header_mkp_using_mkp.encryption_context.items() \
224-
for pair in enc_header_mkp.encryption_context.items()
223+
pair in decrypted_header_mkp_using_mkp.encryption_context.items()
224+
for pair in enc_header_mkp.encryption_context.items()
225225
)
226226

227227
assert decrypted_ciphertext_mkp_using_keyring == decrypted_ciphertext_mkp_using_mkp \

examples/src/migration/migration_raw_rsa_key_example.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ def migration_raw_rsa_key(
245245
# that the encryption context used in the decrypt operation
246246
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
247247
assert all(
248-
pair in decrypted_header_keyring_using_mkp.encryption_context.items() \
249-
for pair in enc_header_keyring.encryption_context.items()
248+
pair in decrypted_header_keyring_using_mkp.encryption_context.items()
249+
for pair in enc_header_keyring.encryption_context.items()
250250
)
251251

252252
assert decrypted_ciphertext_keyring_using_keyring == decrypted_ciphertext_keyring_using_mkp \
@@ -272,8 +272,8 @@ def migration_raw_rsa_key(
272272
# that the encryption context used in the decrypt operation
273273
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
274274
assert all(
275-
pair in decrypted_header_mkp_using_mkp.encryption_context.items() \
276-
for pair in enc_header_mkp.encryption_context.items()
275+
pair in decrypted_header_mkp_using_mkp.encryption_context.items()
276+
for pair in enc_header_mkp.encryption_context.items()
277277
)
278278

279279
assert decrypted_ciphertext_mkp_using_keyring == decrypted_ciphertext_mkp_using_mkp \

0 commit comments

Comments
 (0)