Update tests/components/cloud/test_subscription.py

This commit is contained in:
Joakim Sørensen 2025-07-08 13:19:02 +02:00 committed by GitHub
parent 33ac13185a
commit 3cafe318c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
)