Skip to content

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

chore: remove unused test files

Steven Enamakel6ce7e307e3ce
diff --git a/crates/openhuman-core/src/config/schemas_tests.rs b/crates/openhuman-core/src/config/schemas_tests.rs
index 033bd5bda0..ca751efb41 100644
--- a/crates/openhuman-core/src/config/schemas_tests.rs
+++ b/crates/openhuman-core/src/config/schemas_tests.rs
@@ -158,23 +158,6 @@ fn autonomy_settings_rpc_is_registered() {
assert!(funcs.contains(&"update_autonomy_settings"));
}
-#[test]
-fn memory_sync_settings_rpc_is_registered() {
- let funcs: Vec<&str> = all_controller_schemas()
- .iter()
- .map(|s| s.function)
- .collect();
- assert!(funcs.contains(&"get_memory_sync_settings"));
- assert!(funcs.contains(&"update_memory_sync_settings"));
- // The handler registry must stay in lockstep with the schema list.
- let handlers: Vec<&str> = all_registered_controllers()
- .iter()
- .map(|h| h.schema.function)
- .collect();
- assert!(handlers.contains(&"get_memory_sync_settings"));
- assert!(handlers.contains(&"update_memory_sync_settings"));
-}
-
#[test]
fn deserialize_params_parses_memory_settings_update() {
let mut m = Map::new();
diff --git a/crates/openhuman-core/src/core/all_tests.rs b/crates/openhuman-core/src/core/all_tests.rs
index b8bf1f3e0e..bf9ce34544 100644
--- a/crates/openhuman-core/src/core/all_tests.rs
+++ b/crates/openhuman-core/src/core/all_tests.rs
@@ -118,7 +118,6 @@ fn registered_controller_rpc_method_name() {
#[test]
fn namespace_description_known_namespaces() {
assert!(namespace_description("memory").is_some());
- assert!(namespace_description("memory_tree").is_some());
assert!(namespace_description("config").is_some());
assert!(namespace_description("health").is_some());
assert!(namespace_description("subsystems").is_some());
@@ -1294,7 +1293,7 @@ fn carved_out_families_report_their_own_group() {
("auth", DomainGroup::Security),
("devices", DomainGroup::Security),
("workspace", DomainGroup::Config),
- ("people", DomainGroup::Memory),
+ ("memory", DomainGroup::Memory),
];
for (ns, want) in cases {
match group_for_namespace(ns) {
@@ -1340,7 +1339,7 @@ fn platform_holds_only_kernel_surfaces() {
| "auth"
| "devices"
| "workspace"
- | "people"
+ | "memory"
),
"namespace `{ns}` belongs to a named family but is still tagged Platform"
);
@@ -1360,7 +1359,7 @@ fn harness_preset_registers_the_families_it_claims() {
"auth",
"devices",
"workspace",
- "people",
+ "memory",
] {
let group =
group_for_namespace(ns).unwrap_or_else(|| panic!("namespace `{ns}` is not registered"));
diff --git a/crates/openhuman-core/src/core/cli_tests.rs b/crates/openhuman-core/src/core/cli_tests.rs
index 013961826c..37a3fd2549 100644
--- a/crates/openhuman-core/src/core/cli_tests.rs
+++ b/crates/openhuman-core/src/core/cli_tests.rs
@@ -78,7 +78,6 @@ fn grouped_schemas_contains_migrated_namespaces() {
assert!(grouped.contains_key("config"));
assert!(grouped.contains_key("auth"));
assert!(grouped.contains_key("service"));
- assert!(grouped.contains_key("migrate"));
assert!(grouped.contains_key("inference"));
}