Skip to content

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

chore: files changed crates/openhuman-core/src/memory/import_tests.rs

Steven Enamakel850502f2ee89
diff --git a/crates/openhuman-core/src/memory/import_tests.rs b/crates/openhuman-core/src/memory/import_tests.rs
index fd1681be8d..a8036277ad 100644
--- a/crates/openhuman-core/src/memory/import_tests.rs
+++ b/crates/openhuman-core/src/memory/import_tests.rs
@@ -128,7 +128,7 @@ async fn a_paused_scheduler_leaves_an_interrupted_import_for_later() {
#[tokio::test]
async fn a_live_import_blocks_migration_and_does_not_make_a_stale_migration_look_live() {
- use crate::memory::layout_migration::{self, Phase, Trigger, state, test_host::FakeHost};
+ use crate::memory::layout_migration::{self, state, test_host::FakeHost, Phase, Trigger};
let tmp = tempfile::tempdir().unwrap();
let config = config_in(&tmp);
@@ -198,14 +198,12 @@ async fn a_credit_paused_import_waits_for_billing_and_records_a_resume_failure()
);
let stopped = read_file(&config.workspace_dir);
assert_eq!(stopped.state.phase, ImportPhase::Error);
- assert!(
- stopped
- .state
- .error
- .as_deref()
- .unwrap()
- .contains("could not resume")
- );
+ assert!(stopped
+ .state
+ .error
+ .as_deref()
+ .unwrap()
+ .contains("could not resume"));
assert!(!stopped.paused_for_credits);
assert!(!is_running(&config.workspace_dir));
}