mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add type hints to integration tests (part 5) (#87850)
This commit is contained in:
@@ -18,7 +18,9 @@ from tests.common import MockConfigEntry
|
||||
(True, False, "create_entry", config_entries.ConfigEntryState.SETUP_RETRY, ""),
|
||||
],
|
||||
)
|
||||
async def test_flow(hass, first_con, second_con, exp_type, exp_result, exp_reason):
|
||||
async def test_flow(
|
||||
hass: HomeAssistant, first_con, second_con, exp_type, exp_result, exp_reason
|
||||
) -> None:
|
||||
"""Run a flow with or without errors and return result."""
|
||||
host = "1.2.3.4"
|
||||
with patch(
|
||||
|
||||
Reference in New Issue
Block a user