Fix lutron test AttributeError (2) (#107324)

This commit is contained in:
Marc Mueller 2024-01-06 01:15:50 +01:00 committed by GitHub
parent 133fd6ea5d
commit 4e62dacc00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ async def test_import(
@pytest.mark.parametrize(
("raise_error", "reason"),
[
(HTTPError("", 404, "", None, {}), "cannot_connect"),
(HTTPError("", 404, "", Message(), None), "cannot_connect"),
(Exception, "unknown"),
],
)