test(messages): use rstest for the new bedrock invoke thinking tests
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled

This commit is contained in:
mateo-berri 2026-11-15 21:15:28 -08:00
parent 46a843b030
commit d91bc3fb8e
2 changed files with 2 additions and 1 deletions

View file

@ -1988,6 +1988,7 @@ mod tests {
);
}
#[rstest]
#[tokio::test]
async fn the_native_output_retry_drops_unsigned_thinking_too() {
let model = "bedrock/invoke/us.anthropic.claude-sonnet-5-5-v1:0";

View file

@ -861,7 +861,7 @@ mod tests {
);
}
#[test]
#[rstest]
fn unsigned_thinking_is_dropped_and_signed_thinking_kept() {
let unsigned =
serde_json::json!({"type": "thinking", "thinking": "Read it first.", "signature": ""});