Skip to content

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

test(storage): isolate persistent default in import schema tests

Steven Enamakel945c454f095f
diff --git a/crates/openhuman-core/src/storage/import/schemas_tests.rs b/crates/openhuman-core/src/storage/import/schemas_tests.rs
index 741415f980..ca8b77da53 100644
--- a/crates/openhuman-core/src/storage/import/schemas_tests.rs
+++ b/crates/openhuman-core/src/storage/import/schemas_tests.rs
@@ -74,7 +74,7 @@ fn an_unknown_function_gets_the_error_schema() {
async fn run_import(workspace: Option<&std::path::Path>) -> Value {
let configured = tempfile::TempDir::new().unwrap();
#[cfg(feature = "storage-sqlite")]
- crate::storage::local::use_persistent_default_for_test(configured.path());
+ crate::storage::local::use_persistent_default_for_test(&configured.path().join("workspace"));
let _env = crate::config::test_env::EnvVarGuard::workspace_async(configured.path()).await;
let mut params = Map::new();
if let Some(workspace) = workspace {