File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -300,11 +300,13 @@ def patch_get_single_entry(mocker):
300
300
def test_get_encryption_materials (patch_get_single_entry ):
301
301
cache = build_lcmc ()
302
302
303
- test = cache .get_encryption_materials (cache_key = sentinel .cache_key , plaintext_length = sentinel .plaintext_length )
303
+ plaintext_length = 42
304
+
305
+ test = cache .get_encryption_materials (cache_key = sentinel .cache_key , plaintext_length = plaintext_length )
304
306
305
307
patch_get_single_entry .assert_called_once_with (sentinel .cache_key )
306
308
patch_get_single_entry .return_value ._update_with_message_bytes_encrypted .assert_called_once_with (
307
- sentinel . plaintext_length
309
+ plaintext_length
308
310
)
309
311
assert test is patch_get_single_entry .return_value
310
312
You can’t perform that action at this time.
0 commit comments