The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(host_runtime): remove redundant schema tests
Steven Enamakelae950af1be2f
diff --git a/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs b/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rsindex 5cf3728c62..12acadf423 100644--- a/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs+++ b/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs@@ -1,14 +1,5 @@use super::*;-#[test]-fn all_schemas_use_inference_namespace_and_have_descriptions() {- for s in all_controller_schemas() {- assert_eq!(s.namespace, "inference", "function {}", s.function);- assert!(!s.description.is_empty(), "function {} desc", s.function);- assert!(!s.outputs.is_empty(), "function {} outputs", s.function);- }-}-#[test]fn every_registered_key_resolves_to_non_unknown_schema() {let keys = [@@ -49,34 +40,6 @@ fn download_and_installer_controllers_are_not_registered() {}}-#[test]-fn registered_controllers_all_in_inference_namespace() {- for h in all_registered_controllers() {- assert_eq!(h.schema.namespace, "inference");- assert!(!h.schema.function.is_empty());- }-}--#[test]-fn field_builder_helpers_are_correct_shape() {- let r = required_string("k", "c");- assert!(r.required);- assert!(matches!(r.ty, TypeSchema::String));-- let o = optional_string("k", "c");- assert!(!o.required);-- let j = json_output("result", "c");- assert!(j.required);- assert!(matches!(j.ty, TypeSchema::Json));-}--#[test]-fn to_json_wraps_rpc_outcome() {- let v = to_json(Outcome::single_log(serde_json::json!({"ok": true}), "l")).expect("serialize");- assert!(v.get("logs").is_some() || v.get("result").is_some() || v.get("ok").is_some());-}-#[test]fn deserialize_params_parses_valid_object() {let mut m = Map::new();