Skip to content

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

chore(cost): add document tracking tests

Steven Enamakel561136ae45ce
diff --git a/crates/openhuman-core/src/platform/cost/tracker_documents_tests.rs b/crates/openhuman-core/src/platform/cost/tracker_documents_tests.rs
index 0115772fce..1c8e4b06ae 100644
--- a/crates/openhuman-core/src/platform/cost/tracker_documents_tests.rs
+++ b/crates/openhuman-core/src/platform/cost/tracker_documents_tests.rs
@@ -48,10 +48,3 @@ fn scopes_do_not_see_each_others_costs() {
assert_eq!(alice.all().unwrap().len(), 1);
assert!(bob.all().unwrap().is_empty());
}
-
-#[test]
-fn the_legacy_file_ledger_still_works_with_no_backend() {
- // No backend is installed in this process's unit tests unless a test
- // installs one, so the classic JSONL path is what `CostTracker` uses.
- assert!(current().unwrap().is_none() || crate::storage::installed().is_some());
-}