Skip to content

Commit c4a87b2

Browse files
committed
Correct argument
1 parent 37fdca4 commit c4a87b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/components/plugwise/test_config_flow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ async def test_form(
153153

154154

155155
@pytest.mark.parametrize(
156-
("discovery", "result",),
156+
("discovery", "parameters",),
157157
[
158158
(TEST_DISCOVERY, (TEST_USERNAME, TEST_TIMEOUT)),
159159
(TEST_DISCOVERY2, (TEST_USERNAME2, TEST_TIMEOUT_LEGACY)),
@@ -164,7 +164,7 @@ async def test_zeroconf_form(
164164
mock_setup_entry: AsyncMock,
165165
mock_smile_config_flow: MagicMock,
166166
discovery: ZeroconfServiceInfo,
167-
username: str,
167+
parameters: tuple(str),
168168
) -> None:
169169
"""Test config flow for Smile devices."""
170170
result = await hass.config_entries.flow.async_init(
@@ -185,7 +185,7 @@ async def test_zeroconf_form(
185185

186186
assert result2.get("type") == FlowResultType.CREATE_ENTRY
187187
assert result2.get("title") == "Test Smile Name"
188-
timeout, username = result
188+
timeout, username = parameters
189189
assert result2.get("data") == {
190190
CONF_HOST: TEST_HOST,
191191
CONF_PASSWORD: TEST_PASSWORD,

0 commit comments

Comments
 (0)