File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/components/plugwise_usb Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ async def test_user_flow_select(hass):
6464 result ["flow_id" ], user_input = {CONF_USB_PATH : port_select }
6565 )
6666 assert result .get ("type" ) is FlowResultType .FORM
67- assert result .get ("data " ) == {CONF_USB_PATH : TEST_USBPORT }
67+ assert result .get ("user_input " ) == {CONF_USB_PATH : TEST_USBPORT }
6868
6969 # Retry to ensure configuring the same port is not allowed
7070 result = await hass .config_entries .flow .async_init (
@@ -116,7 +116,7 @@ async def test_user_flow_manual(hass):
116116 user_input = {CONF_USB_PATH : TEST_USBPORT2 },
117117 )
118118 assert result .get ("type" ) is FlowResultType .CREATE_ENTRY
119- assert result .get ("data " ) == {CONF_USB_PATH : TEST_USBPORT2 }
119+ assert result .get ("user_input " ) == {CONF_USB_PATH : TEST_USBPORT2 }
120120
121121
122122async def test_invalid_connection (hass ):
You can’t perform that action at this time.
0 commit comments