aKode fase 5: test e snapshot adeguati alla rinomina, 429 distinto (ProviderRateLimited), cargo fmt dopo il cambio dei prefissi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
|
||||
use anyhow::Result;
|
||||
use base64::Engine;
|
||||
use base64::engine::general_purpose::STANDARD;
|
||||
use akode_exec_server::RouteAwareHttpClient;
|
||||
use akode_http_client::HttpClientFactory;
|
||||
use akode_http_client::OutboundProxyPolicy;
|
||||
use anyhow::Result;
|
||||
use base64::Engine;
|
||||
use base64::engine::general_purpose::STANDARD;
|
||||
use http::HeaderMap;
|
||||
use pretty_assertions::assert_eq;
|
||||
use rmcp::transport::auth::AuthorizationMetadata;
|
||||
@@ -477,7 +477,11 @@ async fn explicit_cimd_is_rejected_without_contacting_the_server() {
|
||||
.await
|
||||
.err()
|
||||
.expect("CIMD should be rejected");
|
||||
assert!(error.to_string().contains("CIMD client registration is not supported"));
|
||||
assert!(
|
||||
error
|
||||
.to_string()
|
||||
.contains("CIMD client registration is not supported")
|
||||
);
|
||||
assert!(
|
||||
server
|
||||
.received_requests()
|
||||
|
||||
Reference in New Issue
Block a user