Adjust matter test exception argument (#87282)

pull/87507/head^2
Martin Hjelmare 2023-02-06 01:02:06 +01:00 committed by GitHub
parent 0a2fc442a3
commit 24bb3a705c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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,