Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 802 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 802 Bytes

Python — pytest against an Era environment

Two tests you can copy into your suite:

Run

era new --industry fintech --size mid --systems slack   # once
export SLACK_BASE_URL=...     # from `era mcp <tenant>` / the written .env
export SLACK_MCP_URL=...
export SLACK_MCP_HEADER=...   # e.g. "Authorization: Bearer ..."
export ERA_TENANT_TOKEN=...

pip install -r requirements.txt
pytest -v

Slack reads its credential as an OAuth bearer, so the REST test sends Authorization: Bearer $ERA_TENANT_TOKEN. Other systems read their vendor's own shape — see the docs for the system you're testing.