Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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.