We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c961999 commit 97d9468Copy full SHA for 97d9468
test/unit/test_caches_local.py
@@ -300,11 +300,13 @@ def patch_get_single_entry(mocker):
300
def test_get_encryption_materials(patch_get_single_entry):
301
cache = build_lcmc()
302
303
- test = cache.get_encryption_materials(cache_key=sentinel.cache_key, plaintext_length=sentinel.plaintext_length)
+ plaintext_length = 42
304
+
305
+ test = cache.get_encryption_materials(cache_key=sentinel.cache_key, plaintext_length=plaintext_length)
306
307
patch_get_single_entry.assert_called_once_with(sentinel.cache_key)
308
patch_get_single_entry.return_value._update_with_message_bytes_encrypted.assert_called_once_with(
- sentinel.plaintext_length
309
+ plaintext_length
310
)
311
assert test is patch_get_single_entry.return_value
312
0 commit comments