Skip to content

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

refactor(tests): reorganize test module imports

Steven Enamakel8fe73bd7b1c0
diff --git a/crates/openhuman-core/src/channels/tests/host_pipeline.rs b/crates/openhuman-core/src/channels/tests/host_pipeline.rs
index 638f47d6a0..778f4f8fae 100644
--- a/crates/openhuman-core/src/channels/tests/host_pipeline.rs
+++ b/crates/openhuman-core/src/channels/tests/host_pipeline.rs
@@ -1,7 +1,7 @@
-use super::common::{use_real_agent_handler, HistoryCaptureModel};
use super::super::context::{ChannelRuntimeContext, CHANNEL_MESSAGE_TIMEOUT_SECS};
-use super::super::runtime::test_support::{run_dispatch_harness, DispatchHarnessOptions};
use super::super::runtime::process_channel_message;
+use super::super::runtime::test_support::{run_dispatch_harness, DispatchHarnessOptions};
+use super::common::{use_real_agent_handler, HistoryCaptureModel};
use crate::channels::runtime::ChannelHandle;
use crate::inference::provider;
use std::collections::HashMap;
@@ -261,4 +261,3 @@ async fn discord_host_pipeline_keeps_thread_histories_separate() {
drop(calls);
assert_eq!(channel_state.sent_messages.lock().await.len(), 2);
}
-
diff --git a/crates/openhuman-core/src/channels/tests/mod.rs b/crates/openhuman-core/src/channels/tests/mod.rs
index 893fe2ffd5..ce3666045d 100644
--- a/crates/openhuman-core/src/channels/tests/mod.rs
+++ b/crates/openhuman-core/src/channels/tests/mod.rs
@@ -23,8 +23,8 @@
//! through `process_channel_message`.
mod common;
-mod identity;
mod host_pipeline;
+mod identity;
mod prompt;
mod runtime_dispatch;
mod runtime_tool_calls;