mirror of
https://github.com/home-assistant/core.git
synced 2025-08-31 02:11:32 +02:00
Update tests/components/cloud/test_subscription.py
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
Reference in New Issue
Block a user