Skip to content

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

test(mcp_registry): update artifact path resolution in multi-server tests

Steven Enamakelac1c367562a5
diff --git a/tests/mcp_registry_multi_server.rs b/tests/mcp_registry_multi_server.rs
index 2b3eedf12a..33089f99c9 100644
--- a/tests/mcp_registry_multi_server.rs
+++ b/tests/mcp_registry_multi_server.rs
@@ -18,9 +18,7 @@ fn fresh_workspace_config() -> (tempfile::TempDir, Config) {
let workspace = tempfile::tempdir().expect("temporary MCP workspace");
let artifact = std::env::var_os(MODULE_ARTIFACT_ENV)
.map(std::path::PathBuf::from)
- .or_else(|| {
- openhuman_core::modules::local_artifact("tinymcp").map(std::path::PathBuf::from)
- })
+ .or_else(|| openhuman_core::modules::local_artifact("tinymcp"))
.expect("the MCP test runner supplies the verified TinyMCP artifact")
.canonicalize()
.expect("TinyMCP artifact exists");