11 lines
313 B
Python
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",
|
|
} |