Skip to content

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

fix(test): use fully qualified PathBuf in sandbox schemas tests

Steven Enamakel717de98c609b
diff --git a/crates/openhuman-core/src/sandbox/schemas_tests.rs b/crates/openhuman-core/src/sandbox/schemas_tests.rs
index 7ee471bc66..4e4234f04a 100644
--- a/crates/openhuman-core/src/sandbox/schemas_tests.rs
+++ b/crates/openhuman-core/src/sandbox/schemas_tests.rs
@@ -166,7 +166,7 @@ async fn handle_validate_policy_valid() {
let policy = super::super::types::SandboxPolicy {
backend: super::super::types::SandboxBackendKind::Docker,
workspace_root: std::path::PathBuf::from("/tmp/safe"),
- state_dir: PathBuf::from("/tmp/state"),
+ state_dir: std::path::PathBuf::from("/tmp/state"),
read_only_mounts: vec![],
allow_network: false,
env_passthrough: vec![],
@@ -185,7 +185,7 @@ async fn handle_validate_policy_dangerous() {
let policy = super::super::types::SandboxPolicy {
backend: super::super::types::SandboxBackendKind::Docker,
workspace_root: std::path::PathBuf::from("/"),
- state_dir: PathBuf::from("/tmp/state"),
+ state_dir: std::path::PathBuf::from("/tmp/state"),
read_only_mounts: vec![],
allow_network: false,
env_passthrough: vec![],