litellm/tests/unit/llms/bedrock_mantle
ryan-crabbe-berri 9a09c654c5
fix(bedrock): answer 401 instead of 500 when AWS SSO or profile credentials are unusable (#53362)
* test(bedrock): expect a 401 when AWS credentials cannot be loaded

* fix(bedrock): answer 401 instead of 500 when AWS SSO or profile credentials are unusable

* fix(bedrock): drop the unreachable messages handler change and check credential errors by type in tests

* fix(bedrock_mantle): answer 401 when Mantle has no usable AWS credentials

* fix(bedrock_mantle): keep a credential source outage a retryable 500

* test(bedrock_mantle): inject the credential source outage instead of opening a connection

* fix(bedrock_mantle): keep a Mantle messages credential failure Rust cannot name a retryable 500

* fix(bedrock_mantle): replay Python signing for Mantle messages credential failures Rust cannot name

* test(bedrock_mantle): narrow the outage test's expected error

* fix(bedrock): keep a Mantle-route messages credential outage retryable
2026-11-23 13:01:24 -08:00
..
chat test: move whole-unit legacy test files into tests/unit and delete dead skips (#44807) 2026-10-07 05:02:28 +00:00
passthrough test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
__init__.py test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
test_bedrock_mantle_messages_transformation.py feat(messages): serve bedrock mantle messages on rust only (#52328) 2026-11-18 17:36:06 -08:00
test_bedrock_mantle_responses_transformation.py fix(bedrock): forward Codex agent messages that carry encrypted content intact (#50457) 2026-11-06 17:47:43 -08:00
test_bedrock_mantle_transformation.py fix(bedrock): answer 401 instead of 500 when AWS SSO or profile credentials are unusable (#53362) 2026-11-23 13:01:24 -08:00