Files
opcda-diagnozer/tests/test_state.py
T
2026-10-07 10:38:21 +02:00

11 lines
313 B
Python

"""State machine tests (SPECIFICATION §10.2). Transitions land in Phase 1."""
from opcda_diagnozer.monitor.state import ConnectionState
def test_connection_states_match_spec() -> None:
assert {s.name for s in ConnectionState} == {
"CONNECTING",
"CONNECTED",
"RECONNECT_WAIT",
}