Skip to content

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

refactor(core): restore builder host tests module

Steven Enamakel1f65ce98c3cf
diff --git a/crates/openhuman-core/src/flows/builder_host.rs b/crates/openhuman-core/src/flows/builder_host.rs
index 821377b2fc..66583dc7d3 100644
--- a/crates/openhuman-core/src/flows/builder_host.rs
+++ b/crates/openhuman-core/src/flows/builder_host.rs
@@ -277,10 +277,6 @@ impl Drop for SandboxCallbackLease {
}
}
-#[cfg(test)]
-#[path = "builder_host_tests.rs"]
-mod tests;
-
#[async_trait]
impl BuilderGates for FlowsHost {
async fn validate(&self, graph: Value) -> FlowValidation {
@@ -374,3 +370,7 @@ impl NodeKindSource for OverlayNodeKinds {
super::node_contracts::node_kind_contract(kind)
}
}
+
+#[cfg(test)]
+#[path = "builder_host_tests.rs"]
+mod tests;