mirror of
https://github.com/esphome/esphome.git
synced 2025-10-13 07:13:47 +01:00
timeout
This commit is contained in:
@@ -493,7 +493,7 @@ def test_run_ota_impl_successful(
|
|||||||
assert result_host == "192.168.1.100"
|
assert result_host == "192.168.1.100"
|
||||||
|
|
||||||
# Verify socket was configured correctly
|
# Verify socket was configured correctly
|
||||||
mock_socket.settimeout.assert_called_with(10.0)
|
mock_socket.settimeout.assert_called_with(20.0)
|
||||||
mock_socket.connect.assert_called_once_with(("192.168.1.100", 3232))
|
mock_socket.connect.assert_called_once_with(("192.168.1.100", 3232))
|
||||||
mock_socket.close.assert_called_once()
|
mock_socket.close.assert_called_once()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user