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
chore: files changed crates/openhuman-core/src/core/subsystems_cli.rs,crates/openhuman-core/src/core
Steven Enamakel48b4563d1998
diff --git a/crates/openhuman-core/src/core/subsystems_cli.rs b/crates/openhuman-core/src/core/subsystems_cli.rsindex cb607e4647..f23e27b5cd 100644--- a/crates/openhuman-core/src/core/subsystems_cli.rs+++ b/crates/openhuman-core/src/core/subsystems_cli.rs@@ -86,25 +86,5 @@ fn print_help() {}#[cfg(test)]-mod tests {- use super::*;-- #[test]- fn help_flag_short_circuits_without_probing_a_driver() {- run_subsystems_command(&["--help".to_string()]).expect("help succeeds");- run_subsystems_command(&["-h".to_string()]).expect("short help succeeds");- }-- #[test]- fn bare_invocation_renders_the_table() {- run_subsystems_command(&[]).expect("table renders");- }-- #[test]- fn namespace_has_a_registered_cli_adapter() {- assert!(- crate::core::all::cli_handler_for_namespace("subsystems").is_some(),- "bare `openhuman subsystems` must reach the table, not the generic help"- );- }-}+#[path = "subsystems_cli_tests.rs"]+mod tests;diff --git a/crates/openhuman-core/src/core/subsystems_cli_tests.rs b/crates/openhuman-core/src/core/subsystems_cli_tests.rsnew file mode 100644index 0000000000..3f4783e2ea--- /dev/null+++ b/crates/openhuman-core/src/core/subsystems_cli_tests.rs@@ -0,0 +1,21 @@+use super::*;+ use super::*;++ #[test]+ fn help_flag_short_circuits_without_probing_a_driver() {+ run_subsystems_command(&["--help".to_string()]).expect("help succeeds");+ run_subsystems_command(&["-h".to_string()]).expect("short help succeeds");+ }++ #[test]+ fn bare_invocation_renders_the_table() {+ run_subsystems_command(&[]).expect("table renders");+ }++ #[test]+ fn namespace_has_a_registered_cli_adapter() {+ assert!(+ crate::core::all::cli_handler_for_namespace("subsystems").is_some(),+ "bare `openhuman subsystems` must reach the table, not the generic help"+ );+ }