test(sanity): update test_sanity assertions to align with removed config-home isolation
This commit is contained in:
@@ -19,7 +19,6 @@ def test_create_session_dry_run(mam_sandbox, mock_herdr, mock_agents):
|
||||
]
|
||||
res = subprocess.run(cmd, capture_output=True, text=True)
|
||||
assert res.returncode == 0, f"Stdout: {res.stdout}\nStderr: {res.stderr}"
|
||||
assert "[dry-run] would provision isolation" in res.stdout
|
||||
assert "[dry-run] would spawn" in res.stdout
|
||||
|
||||
# Verify that mock herdr was called for checking session existence (which gets translated to agent get)
|
||||
@@ -71,4 +70,3 @@ def test_create_session_full(mam_sandbox, mock_herdr, mock_agents):
|
||||
assert sessions[0]["name"] == session_name
|
||||
assert sessions[0]["status"] == "running"
|
||||
assert sessions[0]["role"] == "Creator"
|
||||
assert sessions[0]["isolation"]["uuid"] is not None
|
||||
|
||||
Reference in New Issue
Block a user