fix: expand council descriptions to parent width

This commit is contained in:
codex committed 2026-10-08 19:08:22 +03:00
1 parent 2e48292a32
commit c548998522
7 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ def test_health_returns_versions():
response = TestClient(app).get("/api/health")
assert response.status_code == 200
assert response.json()["backend_version"] == "0.16.3"
assert response.json()["backend_version"] == "0.16.4"
def test_api_employees_and_stats_require_admin_session():
+1 -1
View File
@@ -218,7 +218,7 @@ def test_public_page_data_minimization_and_safe_links(db_session, export):
assert "&lt;script&gt;" in response.text and "<script>" not in response.text
assert "javascript:" not in response.text and "private@example.org" not in response.text
assert "/admin/employees/" not in response.text and "/admin/logout" not in response.text
assert "Backend 0.16.3 · Frontend 0.16.3" in response.text
assert "Backend 0.16.4 · Frontend 0.16.4" in response.text
assert "Вход в админку" in response.text
assert client.get("/admin/directory", follow_redirects=False).status_code in (302, 303, 401, 403)
assert "Сотрудники не найдены" in client.get("/admin/council?q=missing").text