fix(controller): cleanup and fix logic for enable/off dependency.

This commit is contained in:
2025-12-09 16:32:44 +01:00
committed by Christian Appel
parent 69bfabce35
commit ef9568cb46
3 changed files with 13 additions and 9 deletions

View File

@@ -77,7 +77,7 @@ def test_socket_open_with_timeout():
mock_connect.side_effect = Exception("Connection failed")
with pytest.raises(ConnectionError):
socketio.open(timeout=0.4)
mock_connect.assert_called_once()
mock_connect.assert_called_once()
def test_close():