fix: make employee detail page human-readable

This commit is contained in:
Anton
2026-04-29 10:37:38 +03:00
parent 69ad41da66
commit 755135d6ba
9 changed files with 595 additions and 22 deletions

View File

@@ -0,0 +1,13 @@
from pathlib import Path
def test_employee_detail_template_is_human_readable():
template = Path("app/templates/employee_detail.html").read_text(encoding="utf-8")
assert "Current data" not in template
assert "<pre class=\"code\"" not in template
assert ">Tabs<" not in template
assert "Основная информация" in template
assert "Контакты" in template
assert "Разделы профиля" in template
assert "Snapshots" in template