Skip to content

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

test(memory): use crate path for drain in deferred tools test

Steven Enamakel7523fd084ad6
diff --git a/crates/openhuman-core/src/memory/tools_deferred_tests.rs b/crates/openhuman-core/src/memory/tools_deferred_tests.rs
index 6bc04c52cc..bb3a68c8ee 100644
--- a/crates/openhuman-core/src/memory/tools_deferred_tests.rs
+++ b/crates/openhuman-core/src/memory/tools_deferred_tests.rs
@@ -267,5 +267,5 @@ async fn learning_is_durably_queued_even_when_the_backend_refuses_writes() {
assert!(!result.is_error, "{}", result.text());
let value: Value = serde_json::from_str(&result.text()).unwrap();
assert_eq!(value["status"], "queued; not yet saved to memory");
- assert_eq!(super::super::tool_writes::drain(&config).await, 0);
+ assert_eq!(crate::memory::tool_writes::drain(&config).await, 0);
}