Updated non-blocking timout to 10 seconds for fixing timeout issues. (#23930)

* Updated non-blocking timout to 10 seconds for fixing timeout issues.

* Added failed bridge fixture for faster unit tests.
This commit is contained in:
Tomer Figenblat authored and Paulus Schoutsen committed 2019-05-19 11:24:59 +02:00
1 parent ff867a7d57
commit d7d83c683d
3 files changed
+26 -2

No files matched your search

+3 -1
View File
@@ -13,7 +13,9 @@ from .consts import (
DUMMY_REMAINING_TIME, MANDATORY_CONFIGURATION)
async def test_failed_config(hass: HomeAssistantType) -> None:
async def test_failed_config(
hass: HomeAssistantType,
mock_failed_bridge: Generator[None, Any, None]) -> None:
"""Test failed configuration."""
assert await async_setup_component(
hass, DOMAIN, MANDATORY_CONFIGURATION) is False