Skip to content

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

fix(ops_tests): remove unused imports

Steven Enamakelf82dba553136
diff --git a/crates/openhuman-tinyhumans/src/hosted/billing/ops_tests.rs b/crates/openhuman-tinyhumans/src/hosted/billing/ops_tests.rs
index 0710c14daa..3d727ed45d 100644
--- a/crates/openhuman-tinyhumans/src/hosted/billing/ops_tests.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/billing/ops_tests.rs
@@ -1,4 +1,5 @@
use super::*;
+use serde_json::json;
#[test]
fn normalize_gateway_defaults_to_stripe() {
diff --git a/crates/openhuman-tinyhumans/src/hosted/team/ops_tests.rs b/crates/openhuman-tinyhumans/src/hosted/team/ops_tests.rs
index e80f0b84f4..6460d25d03 100644
--- a/crates/openhuman-tinyhumans/src/hosted/team/ops_tests.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/team/ops_tests.rs
@@ -6,34 +6,6 @@ fn cfg() -> Config {
Config::default()
}
-#[test]
-fn build_api_path_encodes_reserved_characters_in_segments() {
- let path = build_api_path(&["teams", "team/with?reserved", "members", "user#frag"])
- .expect("path should build");
-
- assert_eq!(path, "/teams/team%2Fwith%3Freserved/members/user%23frag");
-}
-
-#[test]
-fn build_api_path_empty_segments_list_is_root() {
- let path = build_api_path(&[]).expect("path should build");
- assert_eq!(path, "/");
-}
-
-#[test]
-fn build_api_path_preserves_segment_order() {
- let path = build_api_path(&["a", "b", "c"]).expect("path should build");
- assert_eq!(path, "/a/b/c");
-}
-
-#[test]
-fn build_api_path_percent_encodes_spaces_and_unicode() {
- let path = build_api_path(&["teams", "with space", "👥"]).expect("path should build");
- assert!(path.contains("with%20space"));
- // Unicode must be percent-encoded (UTF-8 bytes).
- assert!(!path.contains('👥'));
-}
-
#[test]
fn normalize_id_rejects_empty_with_field_name() {
let err = normalize_id("", "teamId").unwrap_err();