The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(ai-gateway): drop provider fingerprint and cache identity assertions
mateo-berri836c20a4b6dd
diff --git a/litellm-rust/crates/ai-gateway/src/io/tls.rs b/litellm-rust/crates/ai-gateway/src/io/tls.rsindex 16fd11e2e79..a2562f60345 100644--- a/litellm-rust/crates/ai-gateway/src/io/tls.rs+++ b/litellm-rust/crates/ai-gateway/src/io/tls.rs@@ -69,26 +69,7 @@ where#[cfg(test)]mod tests {- use rustls::CipherSuite;- use rustls::NamedGroup;- use rustls::crypto::{CryptoProvider, aws_lc_rs, ring};-- use super::{Arc, build_config, tls_config};-- fn fingerprint(provider: &CryptoProvider) -> (Vec<CipherSuite>, Vec<NamedGroup>) {- (- provider- .cipher_suites- .iter()- .map(|suite| suite.suite())- .collect(),- provider- .kx_groups- .iter()- .map(|group| group.name())- .collect(),- )- }+ use super::build_config;#[test]fn builds_a_usable_config_with_both_provider_features_enabled() {@@ -96,26 +77,4 @@ mod tests {assert!(!config.crypto_provider().cipher_suites.is_empty());}-- #[test]- fn dials_with_ring_rather_than_aws_lc_rs() {- let config = build_config().expect("a client config");-- assert_eq!(- fingerprint(config.crypto_provider()),- fingerprint(&ring::default_provider())- );- assert_ne!(- fingerprint(config.crypto_provider()),- fingerprint(&aws_lc_rs::default_provider())- );- }-- #[test]- fn the_trust_store_is_loaded_once_and_shared() {- let first = tls_config().expect("a client config");- let second = tls_config().expect("a client config");-- assert!(Arc::ptr_eq(&first, &second));- }}