Skip to content

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

test(ops): cover tinymcp storage callback wiring

Steven Enamakelc66c492dc59f
diff --git a/crates/openhuman-core/src/modules/ops_tests.rs b/crates/openhuman-core/src/modules/ops_tests.rs
index 345d834c13..bad9bb8fe1 100644
--- a/crates/openhuman-core/src/modules/ops_tests.rs
+++ b/crates/openhuman-core/src/modules/ops_tests.rs
@@ -114,6 +114,17 @@ fn the_default_config_enables_modules_and_downloads() {
assert!(config.modules.overrides.is_empty());
}
+#[test]
+fn tinymcp_receives_the_host_storage_service_name() {
+ let config = Config::default();
+ let module_config = ops::module_config_for_test(&config, "tinymcp");
+
+ assert_eq!(
+ module_config["storage_callback"],
+ tinystoragedrivers_bus::STORAGE_INTERFACE
+ );
+}
+
#[test]
fn list_reports_every_registry_entry() {
let statuses = list(&offline_config());