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(config): split sandbox migration test into separate cases
Steven Enamakelb71d8e6a54bc
diff --git a/crates/openhuman-core/src/config/schema/load_components_migration_tests.rs b/crates/openhuman-core/src/config/schema/load_components_migration_tests.rsindex 1c372568a1..f8c8cdcd0f 100644--- a/crates/openhuman-core/src/config/schema/load_components_migration_tests.rs+++ b/crates/openhuman-core/src/config/schema/load_components_migration_tests.rs@@ -165,11 +165,11 @@ fn explicit_components_voice_wins_over_legacy_voice_switches() {#[test]fn sandbox_enabled_false_maps_to_components_sandbox() {- for raw in ["[sandbox]\nenabled = false\n", "[security.sandbox]\nenabled = false\n"] {- let c = migrated(raw, None);- assert!(!c.components.sandbox, "{raw}");- assert_eq!(c.sandbox.enabled.or(c.security.sandbox.enabled), Some(false), "old key kept");- }+ let c = migrated("[sandbox]\nenabled = false\n", None);+ assert!(!c.components.sandbox);+ assert_eq!(c.sandbox.enabled, Some(false), "old key kept");+ let c = migrated("[security.sandbox]\nenabled = false\n", None);+ assert!(!c.components.sandbox);}#[test]