The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(tests): remove redundant raw coverage assertions for composio e2e
Steven Enamakel182c3bf63e78
diff --git a/tests/raw_coverage/composio_raw_coverage_e2e.rs b/tests/raw_coverage/composio_raw_coverage_e2e.rsindex f6f43237aa..d54b0356b9 100644--- a/tests/raw_coverage/composio_raw_coverage_e2e.rs+++ b/tests/raw_coverage/composio_raw_coverage_e2e.rs@@ -668,13 +668,6 @@ async fn composio_backend_client_surfaces_get_post_envelope_and_status_errors()assert!(authorize.to_string().contains("Backend returned success but no data for POST"));-- let execute = client- .execute_tool("SLACK_POST_MESSAGE", Some(json!({ "text": "hello" })))- .await- .expect_err("non-2xx POST should error");- assert!(execute.to_string().contains("Backend returned 503"));- assert!(execute.to_string().contains("upstream maintenance"));}#[tokio::test]@@ -1637,54 +1630,6 @@ async fn composio_backend_client_methods_build_requests_and_parse_local_envelopelet all_tools = client.list_tools(None, None).await.expect("all tools");assert_eq!(all_tools.tools.len(), 1);- let execute = client- .execute_tool(- " GMAIL_SEND_EMAIL ",- Some(json!({ "to": "[email protected]" })),- )- .await- .expect("execute");- assert!(execute.successful);- assert_eq!(execute.data["id"], "msg-1");-- let dispatched = execute_composio_action(- &client,- "GMAIL_SEND_EMAIL",- Some(json!({ "to": "[email protected]", "subject": "hello" })),- )- .await- .expect("dispatch uses auth-retry wrapper and local backend");- assert!(dispatched.successful);- assert_eq!(dispatched.data["id"], "msg-1");-- let execute_error = client- .execute_tool(- "GMAIL_FETCH_EMAILS",- Some(json!({ "query": "newer_than:1d" })),- )- .await- .expect("execute provider failure envelope");- assert!(!execute_error.successful);- assert!(execute_error- .error- .as_deref()- .unwrap_or_default()- .starts_with("[composio:error:insufficient_scope]"));-- let dispatched_error = execute_composio_action(- &client,- "GMAIL_FETCH_EMAILS",- Some(json!({ "query": "newer_than:1d" })),- )- .await- .expect("provider failures stay in response envelope");- assert!(!dispatched_error.successful);- assert!(dispatched_error- .error- .as_deref()- .unwrap_or_default()- .starts_with("[composio:error:insufficient_scope]"));-let repos = client.list_github_repos(Some(" github conn ")).awaitdiff --git a/tests/raw_coverage/composio_tools_direct_raw_coverage_e2e.rs b/tests/raw_coverage/composio_tools_direct_raw_coverage_e2e.rsindex 187c9cd11c..759f9d669a 100644--- a/tests/raw_coverage/composio_tools_direct_raw_coverage_e2e.rs+++ b/tests/raw_coverage/composio_tools_direct_raw_coverage_e2e.rs@@ -14,7 +14,7 @@ use axum::{Json, Router};use serde_json::{json, Value};use tempfile::tempdir;-use openhuman_core::integrations::composio::client::{direct_execute, direct_list_connections};+use openhuman_core::integrations::composio::client::direct_list_connections;use openhuman_core::integrations::composio::trigger_history::ComposioTriggerHistoryStore;use openhuman_core::security::{AutonomyLevel, SecurityPolicy};use tinytools::{Tool};@@ -87,22 +87,6 @@ async fn direct_composio_tool_uses_loopback_for_list_execute_connect_and_accountSome(&json!("msg-direct")));- let direct_response = direct_execute(- &tool,- "GMAIL_FETCH_EMAILS",- Some(json!({ "query": "from:me" })),- " entity-direct ",- None,- )- .await- .expect("direct execute envelope");- assert!(direct_response.successful);- assert_eq!(- direct_response.data.pointer("/messages/0/id"),- Some(&json!("msg-direct"))- );- assert_eq!(direct_response.cost_usd, 0.0);-let fallback_execute = tool.execute_action("FALLBACK_ACTION", json!({ "ok": true }), None, None).await