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:
@@ -2,9 +2,9 @@ use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
use anyhow::Result;
|
||||
use akode_exec_server::HttpClient;
|
||||
use akode_protocol::protocol::McpAuthStatus;
|
||||
use anyhow::Result;
|
||||
use futures::FutureExt;
|
||||
use http::HeaderMap;
|
||||
use http::header::AUTHORIZATION;
|
||||
@@ -307,11 +307,6 @@ fn normalize_scopes(scopes_supported: Vec<String>) -> Option<Vec<String>> {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use axum::Json;
|
||||
use axum::Router;
|
||||
use axum::http::StatusCode;
|
||||
use axum::http::header::WWW_AUTHENTICATE;
|
||||
use axum::routing::get;
|
||||
use akode_exec_server::ExecServerError;
|
||||
use akode_exec_server::HttpRedirectPolicy;
|
||||
use akode_exec_server::HttpRequestParams;
|
||||
@@ -320,6 +315,11 @@ mod tests {
|
||||
use akode_exec_server::RouteAwareHttpClient;
|
||||
use akode_http_client::HttpClientFactory;
|
||||
use akode_http_client::OutboundProxyPolicy;
|
||||
use axum::Json;
|
||||
use axum::Router;
|
||||
use axum::http::StatusCode;
|
||||
use axum::http::header::WWW_AUTHENTICATE;
|
||||
use axum::routing::get;
|
||||
use futures::future::BoxFuture;
|
||||
use pretty_assertions::assert_eq;
|
||||
use serial_test::serial;
|
||||
|
||||
Reference in New Issue
Block a user