mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 00:27:19 +00:00
Update tests/components/cloud/test_subscription.py
This commit is contained in:
parent
33ac13185a
commit
3cafe318c1
@ -34,7 +34,7 @@ async def test_fetching_subscription_with_api_error(
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
mocked_cloud: Cloud,
|
||||
) -> None:
|
||||
"""Test that we handle timeout error."""
|
||||
"""Test that we handle API errors."""
|
||||
mocked_cloud.payments.subscription_info.side_effect = payments_api.PaymentsApiError(
|
||||
"There was an error with the API"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user