Skip to content

Commit 76ce4b1

Browse files
committed
onkyo ssdp config test cleanup
1 parent e3aeb4a commit 76ce4b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/components/onkyo/test_config_flow.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,9 @@ async def test_ssdp_discovery_success(hass: HomeAssistant) -> None:
233233
ssdp_st="mock_st",
234234
)
235235

236-
mock_info = create_receiver_info(1)
237236
with patch(
238237
"homeassistant.components.onkyo.config_flow.async_interview",
239-
return_value=mock_info,
238+
return_value=create_receiver_info(1),
240239
):
241240
result = await hass.config_entries.flow.async_init(
242241
DOMAIN,

0 commit comments

Comments
 (0)