Pytest plugin
pytest_plugin
pytest11 plugin: every pytest session runs inside a fresh AXM sandbox.
Registered under the pytest11 entry point, so any pytest session in an
environment where axm-config is installed resolves the six AXM state paths
under an ephemeral mkdtemp root instead of the real ~/axm state.
The sandbox lives in AXM_SANDBOX_* environment keys, so subprocesses
spawned by tests inherit it. Bypass with -p no:axm_config.
pytest_configure(config)
Activate a sandbox on a fresh temporary root for this session.
Source code in packages/axm-config/src/axm_config/pytest_plugin.py
pytest_unconfigure(config)
Restore the pre-session environment and remove the sandbox root.