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 Enamakelcbe549243df2
diff --git a/crates/openhuman-core/src/memory/import_tests.rs b/crates/openhuman-core/src/memory/import_tests.rs
index 8da765a28e..c3cd9a846f 100644
--- a/crates/openhuman-core/src/memory/import_tests.rs
+++ b/crates/openhuman-core/src/memory/import_tests.rs
@@ -72,7 +72,7 @@ async fn starting_without_consent_is_refused_before_anything_runs() {
.await
.unwrap_err();
assert!(error.to_string().contains("consent"), "{error}");
- assert!(!running(&config.workspace_dir));
+ assert!(!is_running(&config.workspace_dir));
assert_eq!(status(&config).phase, ImportPhase::Idle);
}
@@ -87,7 +87,7 @@ async fn retrying_with_nothing_failed_is_refused_and_releases_the_workspace() {
.await
.is_err()
);
- assert!(!running(&config.workspace_dir));
+ assert!(!is_running(&config.workspace_dir));
}
#[tokio::test]
@@ -205,7 +205,7 @@ async fn a_credit_paused_import_waits_for_billing_and_records_a_resume_failure()
.contains("could not resume")
);
assert!(!stopped.paused_for_credits);
- assert!(!running(&config.workspace_dir));
+ assert!(!is_running(&config.workspace_dir));
}
#[test]