Skip to content

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

chore: split large test files into smaller modules

Steven Enamakel378c3d572db6
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tests_part_03_tests.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops_schema_and_structured_output_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/tinyflows/caps/ops_tests_part_03_tests.rs
rename to crates/openhuman-core/src/flows/tinyflows/caps/ops_schema_and_structured_output_tests.rs
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tests.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tests.rs
index bec425b98f..48aa045506 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tests.rs
@@ -84,9 +84,9 @@ fn trigger_only_graph() -> WorkflowGraph {
}
}
-#[path = "ops_tests_part_01_tests.rs"]
-mod part_01_tests;
-#[path = "ops_tests_part_02_tests.rs"]
-mod part_02_tests;
-#[path = "ops_tests_part_03_tests.rs"]
-mod part_03_tests;
+#[path = "ops_tool_results_and_credentials_tests.rs"]
+mod tool_results_and_credentials_tests;
+#[path = "ops_tier_gate_and_timeouts_tests.rs"]
+mod tier_gate_and_timeouts_tests;
+#[path = "ops_schema_and_structured_output_tests.rs"]
+mod schema_and_structured_output_tests;
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tests_part_02_tests.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/tinyflows/caps/ops_tests_part_02_tests.rs
rename to crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tests_part_01_tests.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tool_results_and_credentials_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/tinyflows/caps/ops_tests_part_01_tests.rs
rename to crates/openhuman-core/src/flows/tinyflows/caps/ops_tool_results_and_credentials_tests.rs
diff --git a/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests_part_01_tests.rs b/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/tinyflows/tinyflows_tests_part_01_tests.rs
rename to crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
diff --git a/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests.rs b/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests.rs
index 0bfe5b7c5c..b63168ff49 100644
--- a/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests.rs
@@ -153,5 +153,5 @@ fn custom_registry_entry(enabled: bool) -> crate::agent::registry::AgentRegistry
}
}
-#[path = "tinyflows_tests_part_01_tests.rs"]
-mod part_01_tests;
+#[path = "tinyflows_capabilities_tests.rs"]
+mod capabilities_tests;
diff --git a/crates/openhuman-core/src/inference/local/service/ollama_admin_tests_part_03_tests.rs b/crates/openhuman-core/src/inference/local/service/ollama_admin_discovery_fallback_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/inference/local/service/ollama_admin_tests_part_03_tests.rs
rename to crates/openhuman-core/src/inference/local/service/ollama_admin_discovery_fallback_tests.rs
diff --git a/crates/openhuman-core/src/inference/local/service/ollama_admin_tests_part_01_tests.rs b/crates/openhuman-core/src/inference/local/service/ollama_admin_health_and_diagnostics_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/inference/local/service/ollama_admin_tests_part_01_tests.rs
rename to crates/openhuman-core/src/inference/local/service/ollama_admin_health_and_diagnostics_tests.rs
diff --git a/crates/openhuman-core/src/inference/local/service/ollama_admin_tests_part_02_tests.rs b/crates/openhuman-core/src/inference/local/service/ollama_admin_lm_studio_and_lifecycle_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/inference/local/service/ollama_admin_tests_part_02_tests.rs
rename to crates/openhuman-core/src/inference/local/service/ollama_admin_lm_studio_and_lifecycle_tests.rs
diff --git a/crates/openhuman-core/src/inference/local/service/ollama_admin_tests.rs b/crates/openhuman-core/src/inference/local/service/ollama_admin_tests.rs
index 89fbd96a8c..64088bdf00 100644
--- a/crates/openhuman-core/src/inference/local/service/ollama_admin_tests.rs
+++ b/crates/openhuman-core/src/inference/local/service/ollama_admin_tests.rs
@@ -23,9 +23,9 @@ fn lm_studio_config(base: &str) -> Config {
config
}
-#[path = "ollama_admin_tests_part_01_tests.rs"]
-mod part_01_tests;
-#[path = "ollama_admin_tests_part_02_tests.rs"]
-mod part_02_tests;
-#[path = "ollama_admin_tests_part_03_tests.rs"]
-mod part_03_tests;
+#[path = "ollama_admin_health_and_diagnostics_tests.rs"]
+mod health_and_diagnostics_tests;
+#[path = "ollama_admin_lm_studio_and_lifecycle_tests.rs"]
+mod lm_studio_and_lifecycle_tests;
+#[path = "ollama_admin_discovery_fallback_tests.rs"]
+mod discovery_fallback_tests;