Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style(tests): reorder imports in rpc e2e test support

Steven Enamakel5d7181b10f9a
diff --git a/tests/support/rpc_e2e_harness.rs b/tests/support/rpc_e2e_harness.rs
index b7e162e5c3..a415294b61 100644
--- a/tests/support/rpc_e2e_harness.rs
+++ b/tests/support/rpc_e2e_harness.rs
@@ -23,16 +23,16 @@ pub use std::sync::{Arc, Mutex, OnceLock};
pub use std::time::Duration;
pub use axum::extract::State;
-pub use axum::http::{HeaderMap, StatusCode, Uri, header::AUTHORIZATION};
+pub use axum::http::{header::AUTHORIZATION, HeaderMap, StatusCode, Uri};
pub use axum::routing::{get, post};
pub use axum::{Json, Router};
pub use futures_util::StreamExt;
-pub use serde_json::{Value, json};
+pub use serde_json::{json, Value};
pub use tempfile::tempdir;
pub use tinyinference_llm::message::Message;
pub use tinyinference_llm::model::ModelRequest;
-pub use openhuman_core::core::auth::{CORE_TOKEN_ENV_VAR, init_rpc_token};
+pub use openhuman_core::core::auth::{init_rpc_token, CORE_TOKEN_ENV_VAR};
pub use openhuman_core::platform::connectivity::rpc::pick_listen_port;
pub use openhuman_rpc::server::build_core_http_router;
diff --git a/tests/support/scripted_stack.rs b/tests/support/scripted_stack.rs
index 0371c76ffd..d5126d5470 100644
--- a/tests/support/scripted_stack.rs
+++ b/tests/support/scripted_stack.rs
@@ -13,9 +13,9 @@
use std::sync::{Mutex, MutexGuard};
-use axum::Json;
use axum::http::HeaderMap;
-use serde_json::{Value, json};
+use axum::Json;
+use serde_json::{json, Value};
/// Lock `m`, recovering the data when a panicking test poisoned it.
pub fn lock_or_recover<T>(m: &Mutex<T>) -> MutexGuard<'_, T> {