Skip to content

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

test(caps_host): improve assertion message in service tests

Steven Enamakel394c58bef1cf
diff --git a/crates/openhuman-core/src/flows/caps_host/service_tests.rs b/crates/openhuman-core/src/flows/caps_host/service_tests.rs
index 0a314bae04..be81c30f08 100644
--- a/crates/openhuman-core/src/flows/caps_host/service_tests.rs
+++ b/crates/openhuman-core/src/flows/caps_host/service_tests.rs
@@ -123,7 +123,10 @@ async fn agent_run_rejects_an_identity_from_another_bound_run() {
.await
.unwrap_err();
- assert!(error.to_string().contains("different workflow run"));
+ assert!(
+ error.to_string().contains("different workflow run"),
+ "unexpected AgentRun validation error: {error}"
+ );
}
#[tokio::test]