test(micromate): an AST scan pins execute() as the only write grant; cover the last mutants
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
a90b8158b6
commit
9ed9578d12
4 files changed
+90
-25
No files matched your search
@@ -54,7 +54,7 @@ def main() -> int:
|
||||
if not (a.port or a.host):
|
||||
ap.error("give a serial port or --host")
|
||||
transport = TcpTransport(a.host, port=a.tcp_port) if a.host else SerialTransport(a.port, a.baud)
|
||||
mm = MicromateClient(transport) # no allowed_writes: the gate refuses every write
|
||||
mm = MicromateClient(transport) # no execute(): nothing here can transmit a write
|
||||
mm.open()
|
||||
try:
|
||||
info = mm.connect()
|
||||
|
||||
Reference in new issue
Block a user