🎉 Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
"""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",
|
||||
}
|
||||
Reference in New Issue
Block a user