refactor(vaults): give the server handlers vault operations

This commit is contained in:
imSp4rky
2026-11-27 10:51:20 -07:00
parent a4531a14bb
commit dcfd2f66ba
14 changed files with 221 additions and 130 deletions
+1 -1
View File
@@ -796,7 +796,7 @@ def test_flagged_pair_warns_once_per_vault(tmp_path: Path, caplog: pytest.LogCap
vaults.vaults = [local, poisoned]
with caplog.at_level(logging.WARNING, logger="unshackle.core.vaults"):
for _ in range(3):
assert vaults.query_vault(poisoned, KID) is None
assert vaults.get_key(KID) == (None, None)
assert sum("flagged bad, skipping" in r.getMessage() for r in caplog.records) == 1