Orchestrata Ultimate › Tests › Reference › test_toplevel_cli
Tests reference — tests/test_toplevel_cli.py
Module of tests, split out because the directory page would be too large.
Prose pending.
tests/test_toplevel_cli.py
source · 7 tests · 91 lines
Tests for orchestrata_ultimate.cli — top-level FastAPI application entry point.
Covers: cli
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_create_app_returns_configured_fastapi_app |
23 | create_app() sets title/version/docs URLs as specified. |
| function | test_create_app_returns_new_instance_each_call |
33 | Each call to create_app() builds an independent FastAPI app. |
| function | test_module_level_app_is_fastapi_instance |
41 | The module-level app singleton is produced by create_app(). |
| function | test_root_endpoint_returns_service_info |
47 | GET / reports service name, version, and running status. |
| function | test_status_endpoint_returns_healthy |
59 | GET /status reports service name, version, and healthy status. |
| function | test_health_router_is_included |
71 | The health router from postman.health is mounted under /health. |
| function | test_lifespan_logs_startup_and_shutdown |
79 | The _lifespan context manager logs on both startup and shutdown. |