Release v0.1.0
All checks were successful
CI / Lint (push) Successful in 4s
CI / Type Check (push) Successful in 18s
CI / Test (push) Successful in 36s
CI / Release (push) Successful in 6s

This commit is contained in:
2025-12-04 13:18:17 +00:00
parent 7fbbf1e387
commit d0c8135fff
9 changed files with 433 additions and 333 deletions

View File

@@ -73,6 +73,8 @@ class TestInstrumentServer:
# Set temperature setpoint
writer.write(b"TEMP:SETPOINT 85.0\n")
await writer.drain()
# Small delay to ensure server processes command before next one
await asyncio.sleep(0.01)
# Query setpoint
writer.write(b"TEMP:SETPOINT?\n")
@@ -212,6 +214,7 @@ class TestSimulationServer:
psu_r, psu_w = await asyncio.open_connection("127.0.0.1", 16201)
psu_w.write(b"VOLT 5.0\n")
await psu_w.drain()
await asyncio.sleep(0.01) # Allow server to process
psu_w.write(b"OUTP ON\n")
await psu_w.drain()