diff options
| author | Dennis Fink | 2026-11-18 08:01:26 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-18 08:01:26 +0100 |
| commit | b908ee61770dc78f8d8fbbbfc4f3c00d7877d42a (patch) | |
| tree | 322d85654e5518c2836ce57beafaa7e2abaab741 /tests/views/test_session.py | |
| parent | 63af533d98aac82b6d4f069b217d3e837285508d (diff) | |
| download | webmentions-ssg-b908ee61770dc78f8d8fbbbfc4f3c00d7877d42a.tar.gz webmentions-ssg-b908ee61770dc78f8d8fbbbfc4f3c00d7877d42a.zip | |
feat(core): add dashboard overview
Replace the root redirect with an authenticated dashboard showing
received and outgoing status counts, recent activity, pending sends,
retries, and queue depth.
Persist the last completed source scan so operational status survives
restarts and only advances after a successful, conclusive scan.
Diffstat (limited to 'tests/views/test_session.py')
| -rw-r--r-- | tests/views/test_session.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/views/test_session.py b/tests/views/test_session.py index 7edee71..f110a26 100644 --- a/tests/views/test_session.py +++ b/tests/views/test_session.py @@ -436,8 +436,8 @@ def test_logout_ends_session(app: Flask, client: FlaskClient) -> None: assert "/login" in protected_response.headers["Location"] -def test_index_redirects_to_received(client: FlaskClient) -> None: +def test_index_requires_login(client: FlaskClient) -> None: response = client.get("/") assert response.status_code == HTTPStatus.FOUND - assert response.headers["Location"].endswith("/received") + assert "/login" in response.headers["Location"] |
