Skip to content

Commit 97d9468

Browse files
fix: get CI passing again (#288) (#293)
* fix: Get CI passing again * chore: run autoformat * Update test/unit/caches/test_local.py Co-authored-by: Matt Bullock <[email protected]> * fix: pr changes Co-authored-by: Matt Bullock <[email protected]> Co-authored-by: MatthewBennington <[email protected]>
1 parent c961999 commit 97d9468

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/unit/test_caches_local.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,13 @@ def patch_get_single_entry(mocker):
300300
def test_get_encryption_materials(patch_get_single_entry):
301301
cache = build_lcmc()
302302

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)
304306

305307
patch_get_single_entry.assert_called_once_with(sentinel.cache_key)
306308
patch_get_single_entry.return_value._update_with_message_bytes_encrypted.assert_called_once_with(
307-
sentinel.plaintext_length
309+
plaintext_length
308310
)
309311
assert test is patch_get_single_entry.return_value
310312

0 commit comments

Comments
 (0)