Skip to content

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

chore(flows): reorder imports in test files

Steven Enamakelc06601aa38be
diff --git a/crates/openhuman-core/src/flows/ops_builder_repair_tests.rs b/crates/openhuman-core/src/flows/ops_builder_repair_tests.rs
index 15677e5f35..592d3ef5cf 100644
--- a/crates/openhuman-core/src/flows/ops_builder_repair_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_builder_repair_tests.rs
@@ -55,12 +55,10 @@ async fn repair_backend_failure_returns_no_proposal_before_starting_the_builder(
assert_eq!(outcome.value["proposal"], Value::Null);
assert_eq!(outcome.value["error"], Value::Null);
- assert!(
- outcome.value["assistant_text"]
- .as_str()
- .expect("assistant text")
- .contains("workflow was not changed")
- );
+ assert!(outcome.value["assistant_text"]
+ .as_str()
+ .expect("assistant text")
+ .contains("workflow was not changed"));
let request_id = format!("backend-repair-{}", uuid::Uuid::new_v4());
let stream = FlowStreamTarget {
@@ -82,10 +80,9 @@ async fn repair_backend_failure_returns_no_proposal_before_starting_the_builder(
};
assert_eq!(done.event, "chat_done");
assert_eq!(done.thread_id, "backend-repair-thread");
- assert!(
- done.full_response
- .as_deref()
- .expect("terminal response text")
- .contains("workflow was not changed")
- );
+ assert!(done
+ .full_response
+ .as_deref()
+ .expect("terminal response text")
+ .contains("workflow was not changed"));
}
diff --git a/crates/openhuman-core/src/flows/ops_tests.rs b/crates/openhuman-core/src/flows/ops_tests.rs
index 6a04bfc276..a517e92443 100644
--- a/crates/openhuman-core/src/flows/ops_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_tests.rs
@@ -335,7 +335,7 @@ fn graph(value: Value) -> WorkflowGraph {
fn seed_app_session_for_gate_test(tmp: &TempDir) {
use crate::security::credentials::{
- APP_SESSION_PROVIDER, AuthService, DEFAULT_AUTH_PROFILE_NAME,
+ AuthService, APP_SESSION_PROVIDER, DEFAULT_AUTH_PROFILE_NAME,
};
// `verify_session_active` reads from `config.config_path.parent()`, which
// `test_config` sets to `tmp.path()` itself (distinct from
@@ -358,7 +358,7 @@ fn seed_app_session_for_gate_test(tmp: &TempDir) {
// so none of this touches a live Composio backend.
use crate::flows::tinyflows::caps::{
- ProbedOutputSample, ToolContract, seed_live_catalog_cache, seed_probe_cache,
+ seed_live_catalog_cache, seed_probe_cache, ProbedOutputSample, ToolContract,
};
fn seeded_slack_send_contract() -> ToolContract {