fix: avoid Jinja dict method collisions in admin templates

This commit is contained in:
Anton
2026-04-29 12:11:16 +03:00
parent 5eaad38076
commit cdfbb26875
8 changed files with 13 additions and 11 deletions

View File

@@ -143,7 +143,7 @@ def test_list_employees_page_filters_sorts_and_paginates(db_session):
page = list_employees_page(db_session, status="active", sort="full_name", direction="asc", limit=10)
assert page["total"] == 1
assert page["items"][0]["full_name"] == "Alpha"
assert page["employees"][0]["full_name"] == "Alpha"
def test_stats_payload_uses_latest_run_new_count(db_session):