feat(админка): Мой день с очередью

This commit is contained in:
anor
2026-11-06 21:23:53 +10:00
parent 0e7fd76fa1
commit 33240f6ddd
12 changed files with 274 additions and 7 deletions
+2 -1
View File
@@ -68,7 +68,8 @@ def test_dashboard_is_cached_for_15_seconds(env, monkeypatch):
assert calls["n"] == 1
client.post("/api/admin/v2/visit", headers=h)
assert client.get("/api/admin/v2/dashboard", headers=h).status_code == 200
assert calls["n"] == 2
# визит больше не сбрасывает кэш: personal-поля дописываются поверх
assert calls["n"] == 1
def test_dashboard_is_admin_only(env):