test(smolmachines): annotate pyright test helpers

This commit is contained in:
2026-07-01 21:10:33 +00:00
committed by didericis
parent 03c89dae81
commit 09a2329f31
2 changed files with 2 additions and 2 deletions
@@ -361,7 +361,7 @@ class TestForceAllowlist(unittest.TestCase):
# force_allowlist must fail closed rather than boot the VM.
original = loopback_alias._read_machine_cfg
def stale_cfg(con, name):
def stale_cfg(con: sqlite3.Connection, name: str) -> dict[str, object]:
# Always report the un-patched row so the post-write
# verification never sees the requested cidrs.
cfg = original(con, name)