Skip to content

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

test(sandbox): add coverage for sandbox ops

Steven Enamakel7b1ccc24b839
diff --git a/crates/openhuman-core/src/sandbox/ops_tests.rs b/crates/openhuman-core/src/sandbox/ops_tests.rs
index 5e6c8a4f5c..9b2e3834d1 100644
--- a/crates/openhuman-core/src/sandbox/ops_tests.rs
+++ b/crates/openhuman-core/src/sandbox/ops_tests.rs
@@ -366,7 +366,7 @@ async fn sandbox_off_component_forces_the_unsandboxed_fallback_and_no_module_loa
let dispatch = DispatchCtx::new(ctx.clone());
crate::core::runtime::context::CoreContext::scope(ctx, async {
assert!(sandbox_component_off(&dispatch));
- assert!(sandbox_disabled_by_host());
+ assert!(sandbox_disabled_by_host(&dispatch));
assert!(
!command_requires_sandbox(&dispatch, Some(SandboxMode::Sandboxed))
.await