We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37fdca4 commit c4a87b2Copy full SHA for c4a87b2
tests/components/plugwise/test_config_flow.py
@@ -153,7 +153,7 @@ async def test_form(
153
154
155
@pytest.mark.parametrize(
156
- ("discovery", "result",),
+ ("discovery", "parameters",),
157
[
158
(TEST_DISCOVERY, (TEST_USERNAME, TEST_TIMEOUT)),
159
(TEST_DISCOVERY2, (TEST_USERNAME2, TEST_TIMEOUT_LEGACY)),
@@ -164,7 +164,7 @@ async def test_zeroconf_form(
164
mock_setup_entry: AsyncMock,
165
mock_smile_config_flow: MagicMock,
166
discovery: ZeroconfServiceInfo,
167
- username: str,
+ parameters: tuple(str),
168
) -> None:
169
"""Test config flow for Smile devices."""
170
result = await hass.config_entries.flow.async_init(
@@ -185,7 +185,7 @@ async def test_zeroconf_form(
185
186
assert result2.get("type") == FlowResultType.CREATE_ENTRY
187
assert result2.get("title") == "Test Smile Name"
188
- timeout, username = result
+ timeout, username = parameters
189
assert result2.get("data") == {
190
CONF_HOST: TEST_HOST,
191
CONF_PASSWORD: TEST_PASSWORD,
0 commit comments