test(smolmachines): annotate pyright test helpers
lint / lint (push) Successful in 1m57s
test / unit (pull_request) Successful in 51s
test / integration (pull_request) Successful in 19s

This commit is contained in:
2026-07-01 21:10:33 +00:00
parent 49c2ed0b93
commit 688e4cd546
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class TestKvmPreflight(unittest.TestCase):
"""Linux-only KVM gate: smolvm needs /dev/kvm present and
accessible. macOS skips this entirely (Hypervisor.framework)."""
def _run(self, *, system, exists, access):
def _run(self, *, system: str, exists: bool, access: bool) -> None:
with patch(
"bot_bottle.backend.smolmachines.util.shutil.which",
return_value="/usr/bin/smolvm",