mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix test name (#22421)
This commit is contained in:
parent
02b12ec1b9
commit
1766536812
@ -219,8 +219,8 @@ def test_fail_setup_without_environ_var(hass):
|
|||||||
|
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def test_fail_setup_cannot_connect(hass, caplog):
|
def test_warn_when_cannot_connect(hass, caplog):
|
||||||
"""Fail setup if cannot connect."""
|
"""Fail warn when we cannot connect."""
|
||||||
with patch.dict(os.environ, MOCK_ENVIRON), \
|
with patch.dict(os.environ, MOCK_ENVIRON), \
|
||||||
patch('homeassistant.components.hassio.HassIO.is_connected',
|
patch('homeassistant.components.hassio.HassIO.is_connected',
|
||||||
Mock(return_value=mock_coro(None))):
|
Mock(return_value=mock_coro(None))):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user