Skip to content

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

test(flows): reformat catalog search assertion

Steven Enamakelca94cf1b318f
diff --git a/crates/openhuman-core/src/flows/builder_tools_reads_and_catalog_tests.rs b/crates/openhuman-core/src/flows/builder_tools_reads_and_catalog_tests.rs
index 3c45bbe8ee..56c5802ebf 100644
--- a/crates/openhuman-core/src/flows/builder_tools_reads_and_catalog_tests.rs
+++ b/crates/openhuman-core/src/flows/builder_tools_reads_and_catalog_tests.rs
@@ -465,7 +465,10 @@ async fn search_catalog_does_not_show_a_toolkit_the_host_does_not_offer() {
seed_live_catalog_cache("offeredpolicytest", vec![twt_lookup(), twt_replies()]);
let mut config = Config::default();
let offered = search_catalog(&config, "tweet", Some("offeredpolicytest"), 40).await;
- assert!(!offered.results.is_empty(), "control: the toolkit is searchable");
+ assert!(
+ !offered.results.is_empty(),
+ "control: the toolkit is searchable"
+ );
config.composio.offered_toolkits_deny = vec!["OfferedPolicyTest".into()];
let denied = search_catalog(&config, "tweet", Some("offeredpolicytest"), 40).await;