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 1674e73 commit 1840e08Copy full SHA for 1840e08
tests/components/plugwise/test_config_flow.py
@@ -153,10 +153,10 @@ async def test_form(
153
154
155
@pytest.mark.parametrize(
156
- ("discovery", "username", "timeout"),
+ ("discovery", "result",),
157
[
158
- (TEST_DISCOVERY, TEST_USERNAME, TEST_TIMEOUT),
159
- (TEST_DISCOVERY2, TEST_USERNAME2, TEST_TIMEOUT_LEGACY),
+ (TEST_DISCOVERY, (TEST_USERNAME, TEST_TIMEOUT)),
+ (TEST_DISCOVERY2, (TEST_USERNAME2, TEST_TIMEOUT_LEGACY)),
160
],
161
)
162
async def test_zeroconf_form(
@@ -189,8 +189,8 @@ async def test_zeroconf_form(
189
CONF_HOST: TEST_HOST,
190
CONF_PASSWORD: TEST_PASSWORD,
191
CONF_PORT: DEFAULT_PORT,
192
- CONF_TIMEOUT: timeout,
193
- CONF_USERNAME: username,
+ CONF_TIMEOUT: result[1],
+ CONF_USERNAME: resutl[0],
194
}
195
196
assert len(mock_setup_entry.mock_calls) == 1
0 commit comments