mirror of
https://github.com/home-assistant/core.git
synced 2025-04-28 11:17:53 +00:00
Adjust matter test exception argument (#87282)
This commit is contained in:
parent
0a2fc442a3
commit
24bb3a705c
@ -83,7 +83,7 @@ async def test_home_assistant_stop(
|
|||||||
assert matter_client.disconnect.call_count == 1
|
assert matter_client.disconnect.call_count == 1
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("error", [CannotConnect("Boom"), Exception("Boom")])
|
@pytest.mark.parametrize("error", [CannotConnect(Exception("Boom")), Exception("Boom")])
|
||||||
async def test_connect_failed(
|
async def test_connect_failed(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
matter_client: MagicMock,
|
matter_client: MagicMock,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user