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(security): add diagnostic message to device import assertion
Steven Enamakelace92067d2e1
diff --git a/crates/openhuman-core/src/security/devices/store_import_tests.rs b/crates/openhuman-core/src/security/devices/store_import_tests.rsindex fb482e1b9f..f41f769e36 100644--- a/crates/openhuman-core/src/security/devices/store_import_tests.rs+++ b/crates/openhuman-core/src/security/devices/store_import_tests.rs@@ -44,13 +44,16 @@ fn legacy_devices_are_imported_once_and_the_file_is_left_alone() {let backend = crate::storage::local::backend_for(&config.workspace_dir).unwrap();let reports = run_with(&backend, &config, &[super::super::import_source()]);- assert!(matches!(- reports[0].outcome,- Ok(Outcome::Imported {- found: 3,- written: 3- })- ));+ assert!(+ matches!(+ reports[0].outcome,+ Ok(Outcome::Imported {+ found: 3,+ written: 3+ })+ ),+ "unexpected import report: {reports:#?}"+ );let listed = live::list_devices(&config).unwrap();let labels: Vec<_> = listed.iter().map(|d| d.label.as_str()).collect();