Skip to content

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

test(composio): reformat round25 raw coverage e2e test

Steven Enamakel58dc8439a696
diff --git a/tests/raw_coverage/tools_composio_large_round25_raw_coverage_e2e.rs b/tests/raw_coverage/tools_composio_large_round25_raw_coverage_e2e.rs
index 1f4dcc484d..564abebe9b 100644
--- a/tests/raw_coverage/tools_composio_large_round25_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tools_composio_large_round25_raw_coverage_e2e.rs
@@ -21,10 +21,10 @@ use openhuman_core::integrations::composio::ops::{
cached_active_integrations, composio_authorize, composio_execute, composio_list_connections,
composio_list_toolkits, composio_list_tools, fetch_connected_integrations_status,
};
+use openhuman_core::integrations::composio::tools::ComposioListToolsTool;
use openhuman_core::integrations::composio::{
invalidate_connected_integrations_cache, FetchConnectedIntegrationsStatus,
};
-use openhuman_core::integrations::composio::tools::ComposioListToolsTool;
use tinytools::{Tool, ToolCallOptions};
static ENV_LOCK: &OnceLock<tokio::sync::Mutex<()>> = &crate::SHARED_ENV_LOCK;
@@ -58,7 +58,8 @@ fn env_lock() -> tokio::sync::MutexGuard<'static, ()> {
async fn env_lock_async() -> tokio::sync::MutexGuard<'static, ()> {
ENV_LOCK
.get_or_init(|| tokio::sync::Mutex::new(()))
- .lock().await
+ .lock()
+ .await
}
async fn setup_direct_config(base: &str) -> Harness {
@@ -130,10 +131,13 @@ async fn round25_direct_mode_ops_use_loopback_factory_for_tools_connections_and_
.value;
assert!(toolkits.toolkits.is_empty());
- let connections = composio_list_connections(&openhuman_core::core::runtime::DispatchCtx::ambient(), &harness.config)
- .await
- .expect("direct list connections")
- .value;
+ let connections = composio_list_connections(
+ &openhuman_core::core::runtime::DispatchCtx::ambient(),
+ &harness.config,
+ )
+ .await
+ .expect("direct list connections")
+ .value;
assert_eq!(connections.connections.len(), 3);
assert!(connections
.connections