diff options
Diffstat (limited to 'tests/test_models.py')
| -rw-r--r-- | tests/test_models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_models.py b/tests/test_models.py index 01e2cec..d2b667c 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -5,6 +5,7 @@ import uuid from collections.abc import Callable from datetime import UTC, datetime +from http import HTTPStatus from typing import get_type_hints import pytest @@ -318,7 +319,7 @@ def test_resend_requeues_current_revision_without_losing_send_history() -> None: status=SentWebmentionStatus.FAILED, failure_reason="Previous failure", endpoint="https://example.com/webmention", - response_status=503, + response_status=HTTPStatus.SERVICE_UNAVAILABLE, status_url="https://example.com/status", attempt_count=3, next_retry_at=sent_at, |
