Skip to content

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

refactor(core): adjust test imports in flows modules

Steven Enamakel20789020f70d
diff --git a/crates/openhuman-core/src/flows/caps_host/mod.rs b/crates/openhuman-core/src/flows/caps_host/mod.rs
index 39633d5d8c..1530a48b34 100644
--- a/crates/openhuman-core/src/flows/caps_host/mod.rs
+++ b/crates/openhuman-core/src/flows/caps_host/mod.rs
@@ -18,9 +18,9 @@ mod binding_tests;
#[cfg(test)]
pub(crate) use agent::OpenHumanAgentRunner;
-pub(crate) use binding::{serve, CapsHostRegistration};
#[cfg(test)]
pub(crate) use binding::CapsHostBinding;
+pub(crate) use binding::{serve, CapsHostRegistration};
pub(crate) use code::OpenHumanCode;
pub(crate) use error::{EngineError, Result};
#[cfg(test)]
diff --git a/crates/openhuman-core/src/flows/catalog_storage.rs b/crates/openhuman-core/src/flows/catalog_storage.rs
index bc98a42ecc..1290614450 100644
--- a/crates/openhuman-core/src/flows/catalog_storage.rs
+++ b/crates/openhuman-core/src/flows/catalog_storage.rs
@@ -20,12 +20,12 @@ use tinyflows_bus::catalog::{
CatalogVersionedDocument, DocDeleteRequest, DocDeleteWhereRequest, DocEnsureRequest,
DocGetRequest, DocPutRequest, DocQueryRequest,
};
+#[cfg(test)]
+use tinystoragedrivers::StorageBackend;
use tinystoragedrivers::{
Capability, CollectionSpec, DocumentStore, Filter, Page, Precondition, Query, Scope,
StorageError, Versioned, WriteOptions,
};
-#[cfg(test)]
-use tinystoragedrivers::StorageBackend;
use crate::config::Config;
use crate::core::runtime::DispatchCtx;