swarm repositories / source
aboutsummaryrefslogtreecommitdiff
path: root/crates/phone-opus/tests
diff options
context:
space:
mode:
Diffstat (limited to 'crates/phone-opus/tests')
-rw-r--r--crates/phone-opus/tests/mcp_hardening.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/phone-opus/tests/mcp_hardening.rs b/crates/phone-opus/tests/mcp_hardening.rs
index f7ce125..f4a8a89 100644
--- a/crates/phone-opus/tests/mcp_hardening.rs
+++ b/crates/phone-opus/tests/mcp_hardening.rs
@@ -417,6 +417,7 @@ fn consult_can_resume_a_prior_session_with_read_only_toolset_and_requested_worki
"persisted output path",
)?;
assert!(persisted_output_path.starts_with("/tmp/phone_opus-consults/"));
+ assert!(persisted_output_path.contains(resumed_session));
let persisted_output = must(
fs::read_to_string(&persisted_output_path),
"read persisted consult output",
@@ -644,6 +645,7 @@ fn consult_can_run_in_background_and_be_polled() -> TestResult {
"background persisted output path",
)?;
assert!(persisted_output_path.starts_with("/tmp/phone_opus-consults/"));
+ assert!(persisted_output_path.contains("3fc69f58-7752-4d9d-a95d-19a217814b6a"));
let persisted_output = must(
fs::read_to_string(&persisted_output_path),
"read background persisted consult output",