Skip to content

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

refactor(tests): clean up imports and test assertions

Steven Enamakel4856b2017ef3
diff --git a/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs b/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
index 628bd7886f..92cb418ed7 100644
--- a/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
+++ b/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
@@ -4,9 +4,7 @@ use crate::core::runtime::{ContextOverlay, CoreContext, DispatchCtx, DomainSet};
use std::collections::HashMap;
use std::path::Path;
use std::sync::Arc;
-use tinyagents_session::transcript::{
- SessionRef, TranscriptMessage, TranscriptMeta,
-};
+use tinyagents_session::transcript::{SessionRef, TranscriptMessage, TranscriptMeta};
struct ConfiguredChannel;
diff --git a/crates/openhuman-core/src/cron/origin_tests.rs b/crates/openhuman-core/src/cron/origin_tests.rs
index 091be5d3bf..42dfe1da84 100644
--- a/crates/openhuman-core/src/cron/origin_tests.rs
+++ b/crates/openhuman-core/src/cron/origin_tests.rs
@@ -86,10 +86,7 @@ fn channel_labelled_turn_without_history_key_has_no_origin() {
#[test]
fn legacy_channel_history_key_cannot_authorize_a_durable_job_origin() {
assert_eq!(
- job_origin_from_turn(&channel_turn_with_session(
- Some("legacy-history-key"),
- None,
- )),
+ job_origin_from_turn(&channel_turn_with_session(Some("legacy-history-key"), None,)),
None
);
}