Skip to content

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

fix(tests): update group name from "crypto" to "web3" in test assertions

Steven Enamakelb908d39a45d4
diff --git a/crates/openhuman-core/src/tools/toolpacks/groups_tests.rs b/crates/openhuman-core/src/tools/toolpacks/groups_tests.rs
index 11dda1155b..89d8a7aa50 100644
--- a/crates/openhuman-core/src/tools/toolpacks/groups_tests.rs
+++ b/crates/openhuman-core/src/tools/toolpacks/groups_tests.rs
@@ -29,7 +29,7 @@ fn presets_are_uniform() {
fn with_sets_one_group_and_leaves_the_rest() {
let g = ToolGroups::none().with("documents", GroupMode::Advertised);
assert_eq!(g.mode("documents"), GroupMode::Advertised);
- assert_eq!(g.mode("crypto"), GroupMode::Off);
+ assert_eq!(g.mode("web3"), GroupMode::Off);
}
#[test]
diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
index 5647ac8168..7da0913e5d 100644
--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
@@ -309,7 +309,7 @@ async fn use_skill_dispatches_to_the_packed_tool() {
async fn use_skill_refuses_a_tool_from_another_skill() {
// Cross-skill dispatch would make the `skill` argument decoration and let a
// workflow skill reach a crypto write.
- let web3 = pack("web3").unwrap().tools[0];
+ let crypto = pack("web3").unwrap().tools[0];
let tools = registry_with(crypto, PermissionLevel::Dangerous);
let result = find(&tools, USE_SKILL)
.execute(json!({"skill": "workflows", "tool": crypto, "args": {}}))