Skip to content

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

fix(composio): correct test import path for wallet test support

Steven Enamakel78f583ab89fb
diff --git a/crates/openhuman-core/src/integrations/composio/ops_tests.rs b/crates/openhuman-core/src/integrations/composio/ops_tests.rs
index c028726510..1bf82c9f72 100644
--- a/crates/openhuman-core/src/integrations/composio/ops_tests.rs
+++ b/crates/openhuman-core/src/integrations/composio/ops_tests.rs
@@ -21,6 +21,10 @@ fn cache_guard() -> tokio::sync::MutexGuard<'static, ()> {
crate::integrations::composio::connected_integrations::composio_cache_test_lock()
}
+async fn cache_guard_async() -> tokio::sync::MutexGuard<'static, ()> {
+ crate::integrations::composio::connected_integrations::composio_cache_test_lock_async().await
+}
+
// ── Mock-backend integration tests for ops ─────────────────────
use crate::config::test_env::EnvVarGuard;
diff --git a/crates/openhuman-core/src/web3/wallet/test_support.rs b/crates/openhuman-core/src/web3/wallet/test_support.rs
index ec23dd88c0..ac40337c71 100644
--- a/crates/openhuman-core/src/web3/wallet/test_support.rs
+++ b/crates/openhuman-core/src/web3/wallet/test_support.rs
@@ -76,7 +76,7 @@ pub(crate) static RPC_ENV_LOCK: std::sync::Mutex<()> = std::sync::Mutex::new(())
/// previous values are restored on drop.
pub(crate) struct UnreachableRpcGuard {
previous: Vec<(&'static str, Option<std::ffi::OsString>)>,
- _env_lock: tokio::sync::MutexGuard<'static, ()>,
+ _env_lock: std::sync::MutexGuard<'static, ()>,
}
impl UnreachableRpcGuard {