Adjust matter test exception argument (#87282)

This commit is contained in:
Martin Hjelmare
2023-02-06 01:02:06 +01:00
committed by GitHub
parent 0a2fc442a3
commit 24bb3a705c

View File

@@ -83,7 +83,7 @@ async def test_home_assistant_stop(
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(
hass: HomeAssistant,
matter_client: MagicMock,