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 0e86208 commit 37fdca4Copy full SHA for 37fdca4
tests/components/plugwise/test_config_flow.py
@@ -185,12 +185,13 @@ 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
189
assert result2.get("data") == {
190
CONF_HOST: TEST_HOST,
191
CONF_PASSWORD: TEST_PASSWORD,
192
CONF_PORT: DEFAULT_PORT,
- CONF_TIMEOUT: result[1],
193
- CONF_USERNAME: result[0],
+ CONF_TIMEOUT: timeout,
194
+ CONF_USERNAME: username,
195
}
196
197
assert len(mock_setup_entry.mock_calls) == 1
0 commit comments