From 509d93b2976e353d29441a7a7b7e78ca466dc4fd Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 15 Nov 2026 20:42:20 +0100 Subject: refactor(core)!: standardize application terminology Rename configuration keys, task helpers, forms, network utilities, and view endpoints to make their responsibilities and domains more explicit. Align source-management routes and templates with the new terminology and rename the target-matching module and related task abstractions consistently. BREAKING CHANGE: configuration keys have been renamed and sent-source routes move from `/sent` to `/sources`, with corresponding blueprint endpoint changes. --- tests/views/test_session.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/views/test_session.py') diff --git a/tests/views/test_session.py b/tests/views/test_session.py index a91a6b2..a2d3268 100644 --- a/tests/views/test_session.py +++ b/tests/views/test_session.py @@ -434,3 +434,10 @@ def test_logout_ends_session(app: Flask, client: FlaskClient) -> None: protected_response = client.get("/received") assert protected_response.status_code == HTTPStatus.FOUND assert "/login" in protected_response.headers["Location"] + + +def test_index_redirects_to_received(client: FlaskClient) -> None: + response = client.get("/") + + assert response.status_code == HTTPStatus.FOUND + assert response.headers["Location"].endswith("/received") -- cgit v1.3.1