Files
headquarter/apps/api/tests/.pi-map.index.md
Developer d395aaf574 fix: stage config-profile mounts as directories so ~/.config stays writable
- Switch apply_resolved_profile from per-file bind mounts to one
  directory-level bind mount per ResolvedMount target.
- Stage all configured files under instance_dir/mounts/<sanitized_target>
  and bind-mount that directory, so Docker no longer creates a root-owned
  parent directory such as ~/.config.
- Propagate read-only mode ('ro') as the 'readonly' flag on volume entries.
- Update unit tests to expect directory-level mounts and add coverage for
  readonly/writable flags.

Quality gates: python3 -m py_compile, pytest (313 passed, 34 skipped),
npm run typecheck, npm run lint.
2026-06-13 11:56:48 +00:00

37 lines
1.1 KiB
Markdown

# apps/api/tests (index)
dir: apps/api/tests
## role
Provides shared test infrastructure and fixtures for the FastAPI API application.
## 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
## links
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
-