Skip to content

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

test(channels): add failure detail to telegram status assertion

Steven Enamakel8c59e5873301
diff --git a/crates/openhuman-core/src/channels/routes_tests.rs b/crates/openhuman-core/src/channels/routes_tests.rs
index 32ce85f4ed..3f35253dfe 100644
--- a/crates/openhuman-core/src/channels/routes_tests.rs
+++ b/crates/openhuman-core/src/channels/routes_tests.rs
@@ -459,7 +459,11 @@ async fn handle_runtime_command_telegram_status_replies_without_agent() {
let sent = channel_impl.sent.lock().unwrap();
assert_eq!(sent.len(), 1);
- assert!(sent[0].content.contains("**Status**"));
+ assert!(
+ sent[0].content.contains("**Status**"),
+ "status command returned unexpected reply: {:?}",
+ sent[0].content
+ );
assert!(sent[0].content.contains("Provider:"));
}