Updates default Pilight port number (#13419)
This commit is contained in:
parent
b159484a79
commit
872b6cf16b
2 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ class TestPilight(unittest.TestCase):
|
|||
|
||||
@patch('homeassistant.components.pilight._LOGGER.error')
|
||||
def test_connection_failed_error(self, mock_error):
|
||||
"""Try to connect at 127.0.0.1:5000 with socket error."""
|
||||
"""Try to connect at 127.0.0.1:5001 with socket error."""
|
||||
with assert_setup_component(4):
|
||||
with patch('pilight.pilight.Client',
|
||||
side_effect=socket.error) as mock_client:
|
||||
|
@ -93,7 +93,7 @@ class TestPilight(unittest.TestCase):
|
|||
|
||||
@patch('homeassistant.components.pilight._LOGGER.error')
|
||||
def test_connection_timeout_error(self, mock_error):
|
||||
"""Try to connect at 127.0.0.1:5000 with socket timeout."""
|
||||
"""Try to connect at 127.0.0.1:5001 with socket timeout."""
|
||||
with assert_setup_component(4):
|
||||
with patch('pilight.pilight.Client',
|
||||
side_effect=socket.timeout) as mock_client:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue