Files
headquarter/apps/api/tests/.pi-map.index.md
T
Developer 1d345eba32 fix: use runuser for privilege drop and capture container stderr in logs
The container still exited immediately after the su-based fix.  can
interfere with TTY/stdin handling for interactive shells. Switch to
, which is root-only, skips PAM, and preserves file descriptors so
bash stays interactive.

Also improve container failure diagnostics:
-  now combines stdout and stderr
- This helps surface the real reason when a container exits with code 0

Quality gates:
- pytest tests/unit: 219 passed
- ruff: clean on changed files
- mypy: clean on changed files
2026-06-15 10:41:37 +00:00

1.1 KiB

apps/api/tests (index)

dir: apps/api/tests

role

Provides shared test infrastructure and fixtures for API integration testing

parent

index: apps/api/.pi-map.index.md map: apps/api/.pi-map.md

children

  • apps/api/tests/api index: apps/api/tests/api/.pi-map.index.md map: apps/api/tests/api/.pi-map.md
  • apps/api/tests/integration index: apps/api/tests/integration/.pi-map.index.md map: apps/api/tests/integration/.pi-map.md
  • apps/api/tests/services index: apps/api/tests/services/.pi-map.index.md map: apps/api/tests/services/.pi-map.md
  • apps/api/tests/system index: apps/api/tests/system/.pi-map.index.md map: apps/api/tests/system/.pi-map.md
  • apps/api/tests/unit index: apps/api/tests/unit/.pi-map.index.md map: apps/api/tests/unit/.pi-map.md

files

  • conftest.py

index: apps/api/tests/.pi-map.index.md map: apps/api/tests/.pi-map.md

workflows

  • change tests behavior read: conftest.py
  • explore tests subdirectories index: apps/api/tests/api/.pi-map.index.md, apps/api/tests/integration/.pi-map.index.md, apps/api/tests/services/.pi-map.index.md

dirty