diff options
| author | Dennis Fink | 2026-11-13 21:45:19 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-13 21:48:58 +0100 |
| commit | 4c50f6be754c7a474c5abc2cde7412041289f754 (patch) | |
| tree | aae7ef7a8522a581de7fa66536c294ba9e6f6bc8 /tests/tasks | |
| parent | 497de85e7f2b91dc9e8ac546e9c1e41f9b6ae43f (diff) | |
| download | webmentions-ssg-4c50f6be754c7a474c5abc2cde7412041289f754.tar.gz webmentions-ssg-4c50f6be754c7a474c5abc2cde7412041289f754.zip | |
refactor(core): remove postponed model annotations
Drop `from __future__ import annotations` now that UUID names no longer
shadow the module namespace, and add coverage that mapped UUID and
relationship annotations resolve correctly at runtime.
Apply minor Python 3.14 syntax and formatting cleanup across tests and
networking.
Diffstat (limited to '')
| -rw-r--r-- | tests/tasks/test_receiver.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tasks/test_receiver.py b/tests/tasks/test_receiver.py index 51d1bb6..44e8c58 100644 --- a/tests/tasks/test_receiver.py +++ b/tests/tasks/test_receiver.py @@ -206,8 +206,7 @@ def test_fetch_source_does_not_mask_unexpected_value_error( monkeypatch: pytest.MonkeyPatch, ) -> None: set_stream_response( - httpx_client, - httpx.Response(200, request=httpx.Request("GET", SOURCE_URL)), + httpx_client, httpx.Response(200, request=httpx.Request("GET", SOURCE_URL)) ) monkeypatch.setattr( receiver, "read_limited_body", Mock(side_effect=ValueError("unexpected bug")) |
