Context information
pytest fixtures: reusable setup and teardown
pytest fixtures provide named setup dependencies that tests request through function arguments. The fixture guide explains reuse, scopes and cleanup patterns. This provides a foundation for testing agent clients with controlled state and repeatable environments rather than depending on live external systems for every check.
- Provenance
- pytest project documentation
- Updated
- 2026-11-08T22:15:35.951690Z