Skip to content

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

test(modules): avoid shared loader state assertions

Steven Enamakelef8730a9243b
diff --git a/crates/openhuman-core/src/modules/ops_components_tests.rs b/crates/openhuman-core/src/modules/ops_components_tests.rs
index fb457303ad..b067280847 100644
--- a/crates/openhuman-core/src/modules/ops_components_tests.rs
+++ b/crates/openhuman-core/src/modules/ops_components_tests.rs
@@ -17,8 +17,6 @@ async fn a_disabled_component_never_reaches_download_or_dlopen() {
.unwrap_err();
assert_eq!(err, LoadError::Disabled("mcp"));
assert_eq!(err.into_message(), "COMPONENT_DISABLED:mcp");
- // Nothing was claimed: the resolution table never saw the id.
- assert_eq!(state_of("tinymcp"), ModuleState::Available);
}
#[test]
@@ -54,7 +52,6 @@ async fn a_disabled_wallet_never_loads_the_tinywallet_module() {
.unwrap_err();
assert_eq!(err, LoadError::Disabled("wallet"));
assert_eq!(err.into_message(), "COMPONENT_DISABLED:wallet");
- assert_eq!(state_of("tinywallet"), ModuleState::Available);
}
#[cfg(feature = "hosting")]