Skip to content

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

chore(tests): remove unused test modules

Steven Enamakelebf2fa5f6402
diff --git a/crates/openhuman-core/src/security/approval/gate_tests.rs b/crates/openhuman-core/src/security/approval/gate_tests.rs
index 0b93621310..b99eb8d5c8 100644
--- a/crates/openhuman-core/src/security/approval/gate_tests.rs
+++ b/crates/openhuman-core/src/security/approval/gate_tests.rs
@@ -213,11 +213,9 @@ async fn find_approval_decided(
) -> crate::core::events::DomainEvent {
loop {
match rx.recv().await {
- Some(ref ev @ crate::core::events::DomainEvent::ApprovalDecided { ref request_id, .. })
- if request_id == expected_request_id =>
- {
- return ev.clone()
- }
+ Some(
+ ref ev @ crate::core::events::DomainEvent::ApprovalDecided { ref request_id, .. },
+ ) if request_id == expected_request_id => return ev.clone(),
Some(_) => continue,
None => panic!("the bus closed before the expected event arrived"),
}
diff --git a/crates/openhuman-core/src/web_chat/web_tests.rs b/crates/openhuman-core/src/web_chat/web_tests.rs
index e88e980a8d..cd59e0269f 100644
--- a/crates/openhuman-core/src/web_chat/web_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests.rs
@@ -2,8 +2,7 @@ use super::{
all_web_channel_controller_schemas, all_web_channel_registered_controllers, cancel_chat,
channel_web_cancel, channel_web_queue_clear, channel_web_queue_remove,
channel_web_queue_status, classify_inference_error, drain_queued_turns_for_test,
- event_session_id_for,
- extract_provider_error_detail, generic_inference_error_user_message,
+ event_session_id_for, extract_provider_error_detail, generic_inference_error_user_message,
in_flight_entries_for_test, inference_budget_exceeded_user_message,
is_inference_budget_exceeded_error, json_output, key_for, locale_reply_directive,
normalize_model_override, optional_f64, optional_string, parallel_in_flight_entries_for_test,