fischer-agentkit/tests/integration/admin
chiguyong 5e977539c7 test(admin): U10 — E2E + security isolation + quota enforcement tests
23 integration tests across 3 files:
- test_e2e_admin_flow: 5 end-to-end lifecycle tests (department, user,
  LLM config, skill management, usage dashboard)
- test_security_isolation: 7 department isolation tests + non-admin 403
  tests (cross-dept skill/KB access, multi-dept union, admin sees all,
  removed user loses access, disabled dept, API key client)
- test_quota_enforcement: 10 quota tests (token/cost/whitelist limits,
  multi-dept strictest-wins, real gateway integration, usage recording)

418 admin tests pass, no regressions.
2026-06-21 19:57:49 +08:00
..
__init__.py feat(admin): U1+U2+U4 — schema v3, department service, context filtering 2026-06-21 15:03:27 +08:00
test_department_isolation.py feat(admin): U1+U2+U4 — schema v3, department service, context filtering 2026-06-21 15:03:27 +08:00
test_department_routes.py feat(admin): U1+U2+U4 — schema v3, department service, context filtering 2026-06-21 15:03:27 +08:00
test_e2e_admin_flow.py test(admin): U10 — E2E + security isolation + quota enforcement tests 2026-06-21 19:57:49 +08:00
test_llm_config_routes.py feat(admin): U5 — LLM config admin endpoints + department quotas 2026-06-21 15:03:38 +08:00
test_quota_enforcement.py test(admin): U10 — E2E + security isolation + quota enforcement tests 2026-06-21 19:57:49 +08:00
test_security_isolation.py test(admin): U10 — E2E + security isolation + quota enforcement tests 2026-06-21 19:57:49 +08:00
test_skill_kb_routes.py feat(admin): U6 — Skill & KB management endpoints + department binding 2026-06-21 16:19:51 +08:00
test_usage_routes.py feat(admin): U7 — usage dashboard + quota enforcement 2026-06-21 17:23:20 +08:00
test_user_routes.py feat(admin): U3 — user CRUD + password reset + multi-department 2026-06-21 13:45:42 +08:00