Skip to content

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

test(cron): initialise logging in host delivery test

Steven Enamakel214663314d53
diff --git a/crates/openhuman-embed/tests/cron_host_delivery.rs b/crates/openhuman-embed/tests/cron_host_delivery.rs
index b6da4c722d..924bb983d7 100644
--- a/crates/openhuman-embed/tests/cron_host_delivery.rs
+++ b/crates/openhuman-embed/tests/cron_host_delivery.rs
@@ -42,6 +42,11 @@ fn add_job(name: &str, prompt: &str) -> serde_json::Value {
#[test]
fn a_library_agents_scheduled_reply_is_handed_to_the_host() {
+ let _ = env_logger::builder().is_test(true).try_init();
+ let _ = tracing_subscriber::fmt()
+ .with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
+ .with_test_writer()
+ .try_init();
runtime().block_on(async {
tokio::spawn(async {
let backend = stub_backend().await;