test(modbus): implement MockRelayController with failing tests

Ref: T028 (specs/001-modbus-relay-control)
This commit is contained in:
2026-01-09 21:36:29 +01:00
parent ddb65fdd78
commit 3ae760f32e
4 changed files with 182 additions and 1 deletions

View File

@@ -286,7 +286,7 @@
**Purpose**: Implement Modbus client, mocks, and persistence
- [ ] **T028** [P] [US1] [TDD] Write tests for MockRelayController
- [x] **T028** [P] [US1] [TDD] Write tests for MockRelayController
- Test: read_state() returns mocked state
- Test: write_state() updates mocked state
- Test: read_all() returns 8 relays in known state