geeViz.eeAuth.tests.test_library¶
Tests for the geeViz.eeAuth library.
Covers the public API surface — anything users would import from
geeViz.eeAuth.*. Internal behavior is mostly covered by the agent’s
test suite (which exercises the same modules end-to-end).
Functions
|
The agent's geeviz_agent.sa_registry module should re-export from geeViz.eeAuth.registry so existing imports keep working. |
|
|
|
build_proxy_router should produce an APIRouter you can include in any FastAPI app at any prefix. |
|
|
|
create_proxy_app should produce a working FastAPI instance with the proxy mounted at the prefix and a root health check. |
|
python -m geeViz.eeAuth --help should print usage without error. |
|
When no SA is registered, the proxy should 400 — never 500. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Every name in __init__.py's __all__ must be importable. |