Skip to content

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

test(tools): split ops tests into execution and serde modules

Steven Enamakel9a497a7f1205
diff --git a/crates/openhuman-core/src/tools/ops_tests.rs b/crates/openhuman-core/src/tools/ops_tests.rs
index 416ba2c014..75a4e9acb9 100644
--- a/crates/openhuman-core/src/tools/ops_tests.rs
+++ b/crates/openhuman-core/src/tools/ops_tests.rs
@@ -56,7 +56,6 @@ fn integration_test_config(tmp: &TempDir, backend_url: &str) -> Config {
cfg.integrations.parallel.enabled = true;
cfg.integrations.tinyfish.enabled = true;
cfg.integrations.stock_prices.enabled = true;
- cfg.integrations.twilio.enabled = true;
cfg
}
diff --git a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
index df120e81d7..e5e6d0c229 100644
--- a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
+++ b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
@@ -231,7 +231,6 @@ fn all_tools_registers_integration_families_when_enabled_and_signed_in() {
cfg.integrations.parallel.enabled = true;
cfg.integrations.tinyfish.enabled = true;
cfg.integrations.stock_prices.enabled = true;
- cfg.integrations.twilio.enabled = true;
cfg.composio.enabled = true;
store_test_session_token(&cfg);
@@ -257,7 +256,6 @@ fn all_tools_registers_integration_families_when_enabled_and_signed_in() {
"stock_options",
"stock_crypto_series",
"stock_commodity",
- "twilio_call",
"composio_list_toolkits",
"composio_list_connections",
"composio_authorize",
@@ -265,6 +263,12 @@ fn all_tools_registers_integration_families_when_enabled_and_signed_in() {
"composio_execute",
],
);
+ // The backend retired its Twilio route; the agent must not be offered a
+ // tool that can only fail.
+ assert!(
+ !names.iter().any(|n| n == "twilio_call"),
+ "twilio_call must no longer be registered"
+ );
}
#[test]