litellm/tests/documentation_tests
Yassin Kortam 0b8c58735d
fix(ci): make the env-key doc gate see get_secret_bool reads (#35833)
The gate only matched os.getenv(, litellm.get_secret( and
litellm.get_secret_str(, so a bare get_secret_bool("X") matched nothing and
the key bypassed the documentation requirement entirely. Add a fourth pattern
for get_secret_bool, with or without the litellm. prefix, and a negative
lookbehind so an unrelated receiver's .get_secret*( call is not mistaken for
an env var read.

Extraction and table parsing move into functions behind a __main__ guard so
the patterns can be unit tested; the script is still invoked exactly the same
way by CI.

This surfaces 13 keys the gate never checked, 8 of which have no reference
row yet.
2026-08-05 12:03:15 -07:00
..
test_api_docs.py Support budget/rate limit tiers for keys (#7429) 2024-12-26 19:05:27 -08:00
test_circular_imports.py Litellm remove circular imports (#7232) 2024-12-14 16:28:34 -08:00
test_env_keys.py fix(ci): make the env-key doc gate see get_secret_bool reads (#35833) 2026-08-05 12:03:15 -07:00
test_exception_types.py [Fix] Scope documentation workflow to match CircleCI and add missing router settings 2026-03-28 11:23:53 -07:00
test_general_setting_keys.py [Fix] Scope documentation workflow to match CircleCI and add missing router settings 2026-03-28 11:23:53 -07:00
test_optional_params.py Litellm dev 12 28 2024 p1 (#7463) 2024-12-28 20:26:00 -08:00
test_readme_providers.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_requests_lib_usage.py LITELLM: Remove requests library usage (#7235) 2024-12-17 12:50:04 -08:00
test_router_settings.py [Fix] Test isolation for agent health checks and documentation test path resolution 2026-03-28 11:00:22 -07:00
test_standard_logging_payload.py [Fix] Scope documentation workflow to match CircleCI and add missing router settings 2026-03-28 11:23:53 -07:00