@@ -486,15 +486,9 @@ def test_encryption_cycle_raw_mkp_openssl_102_plus(
486
486
run_raw_provider_check (caplog , encrypt_param_name , encrypting_provider , decrypt_param_name , decrypting_provider )
487
487
488
488
489
- @pytest .mark .parametrize (
490
- "frame_length, algorithm, encryption_context" ,
491
- [
492
- [frame_length , algorithm_suite , encryption_context ]
493
- for frame_length in VALUES ["frame_lengths" ]
494
- for algorithm_suite in Algorithm
495
- for encryption_context in [{}, VALUES ["encryption_context" ]]
496
- ],
497
- )
489
+ @pytest .mark .parametrize ("frame_length" , VALUES ["frame_lengths" ])
490
+ @pytest .mark .parametrize ("algorithm" , Algorithm )
491
+ @pytest .mark .parametrize ("encryption_context" , [{}, VALUES ["encryption_context" ]])
498
492
def test_encryption_cycle_oneshot_kms (frame_length , algorithm , encryption_context ):
499
493
key_provider = fake_kms_key_provider (algorithm .kdf_input_len )
500
494
@@ -511,15 +505,9 @@ def test_encryption_cycle_oneshot_kms(frame_length, algorithm, encryption_contex
511
505
assert plaintext == VALUES ["plaintext_128" ] * 10
512
506
513
507
514
- @pytest .mark .parametrize (
515
- "frame_length, algorithm, encryption_context" ,
516
- [
517
- [frame_length , algorithm_suite , encryption_context ]
518
- for frame_length in VALUES ["frame_lengths" ]
519
- for algorithm_suite in Algorithm
520
- for encryption_context in [{}, VALUES ["encryption_context" ]]
521
- ],
522
- )
508
+ @pytest .mark .parametrize ("frame_length" , VALUES ["frame_lengths" ])
509
+ @pytest .mark .parametrize ("algorithm" , Algorithm )
510
+ @pytest .mark .parametrize ("encryption_context" , [{}, VALUES ["encryption_context" ]])
523
511
def test_encryption_cycle_stream_kms (frame_length , algorithm , encryption_context ):
524
512
key_provider = fake_kms_key_provider (algorithm .kdf_input_len )
525
513
0 commit comments