Fix test name (#22421)
This commit is contained in:
parent
02b12ec1b9
commit
1766536812
1 changed files with 2 additions and 2 deletions
|
@ -219,8 +219,8 @@ def test_fail_setup_without_environ_var(hass):
|
|||
|
||||
|
||||
@asyncio.coroutine
|
||||
def test_fail_setup_cannot_connect(hass, caplog):
|
||||
"""Fail setup if cannot connect."""
|
||||
def test_warn_when_cannot_connect(hass, caplog):
|
||||
"""Fail warn when we cannot connect."""
|
||||
with patch.dict(os.environ, MOCK_ENVIRON), \
|
||||
patch('homeassistant.components.hassio.HassIO.is_connected',
|
||||
Mock(return_value=mock_coro(None))):
|
||||
|
|
Loading…
Add table
Reference in a new issue