The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(tests): remove unused imports and dead code from e2e tests
Steven Enamakel58709059581b
diff --git a/tests/config_auth_app_state_connectivity_e2e.rs b/tests/config_auth_app_state_connectivity_e2e.rsindex f808eda41e..362fdf1256 100644--- a/tests/config_auth_app_state_connectivity_e2e.rs+++ b/tests/config_auth_app_state_connectivity_e2e.rs@@ -33,12 +33,8 @@ use openhuman_core::config::{use openhuman_core::core::auth::{init_rpc_token, CORE_TOKEN_ENV_VAR};use openhuman_core::core::events::DomainEvent;use openhuman_core::desktop::app_state::app_state_schemas;-use openhuman_core::platform::connectivity::{- };use openhuman_core::security::credentials::bus::SessionExpiredSubscriber;use openhuman_core::security::credentials::profiles::{AuthProfile, AuthProfilesStore, TokenSet};-use openhuman_core::security::credentials::session_support::{- };use openhuman_core::security::credentials::{clear_composio_api_key, decrypt_secret, encrypt_secret, get_composio_api_key,list_provider_credentials_by_prefix, normalize_provider, rpc_store_composio_api_key,diff --git a/tests/inference_provider_e2e.rs b/tests/inference_provider_e2e.rsindex 2c128d19f2..f9eebdf497 100644--- a/tests/inference_provider_e2e.rs+++ b/tests/inference_provider_e2e.rs@@ -1,8 +1,8 @@//! Inference provider end-to-end tests using wiremock.//!-//! Non-streaming request/response, auth-header and temperature wire behavior of-//! `OpenAiModel` is covered in tinyinference-llm (`providers/openai/wire_test.rs`);-//! the streaming test below drives the SSE path over a real wiremock socket.+//! Non-streaming request/response, auth-header, temperature and SSE streaming+//! behavior of `OpenAiModel` is covered in tinyinference-llm+//! (`providers/openai/{wire_test,test}.rs`).//!//! The `/v1/chat/completions` and `/v1/models` HTTP endpoint tests verify the//! full axum router layer (auth middleware + provider routing) end-to-end.@@ -16,14 +16,9 @@ use axum::http::{header, Method, Request, StatusCode};use serde_json::{json, Value};use tempfile::tempdir;use tower::ServiceExt;-use wiremock::matchers::{method, path};-use wiremock::{Mock, MockServer, ResponseTemplate};use openhuman_core::core::auth::{init_rpc_token, CORE_TOKEN_ENV_VAR};use openhuman_rpc::server::build_core_http_router;-use tinyinference_llm::message::Message;-use tinyinference_llm::model::{ChatModel, ModelRequest, ModelStreamItem};-use tinyinference_llm::providers::openai::{AuthStyle, OpenAiModel};// ── Environment serialisation lock ───────────────────────────────────────────//@@ -56,13 +51,6 @@ fn ensure_rpc_auth() {});}-fn openai_model(provider: &str, endpoint: &str, api_key: &str, auth: AuthStyle) -> OpenAiModel {- OpenAiModel::new(api_key)- .with_provider(provider)- .with_base_url(endpoint)- .with_auth_style(auth)-}-// ── Helper: build an env-isolated Config pointing at tempdir ─────────────────/// Sets OPENHUMAN_WORKSPACE to `dir` and returns an `EnvVarGuard` that