llama-stack-mirror/tests/integration/safety
Ashwin Bharambe 045a0c1d57
feat(tests): implement test isolation for inference recordings (#3681)
Uses test_id in request hashes and test-scoped subdirectories to prevent
cross-test contamination. Model list endpoints exclude test_id to enable
merging recordings from different servers.

Additionally, this PR adds a `record-if-missing` mode (which we will use
instead of `record` which records everything) which is very useful.

🤖 Co-authored with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-04 11:34:18 -07:00
..
recordings feat(tests): implement test isolation for inference recordings (#3681) 2025-10-04 11:34:18 -07:00
resources refactor: tests/unittests -> tests/unit; tests/api -> tests/integration 2025-03-04 09:57:00 -08:00
__init__.py fix: remove ruff N999 (#1388) 2025-03-07 11:14:04 -08:00
test_llama_guard.py feat: add llama guard 4 model (#2579) 2025-07-03 22:29:04 -07:00
test_safety.py feat: Code scanner Provider impl for moderations api (#3100) 2025-08-18 14:15:40 -07:00
test_vision_safety.py refactor(test): introduce --stack-config and simplify options (#1404) 2025-03-05 17:02:02 -08:00