MCPcopy Index your code
hub / github.com/AI45Lab/Code / test_is_closed_starts_false

Function test_is_closed_starts_false

core/src/agent_api/tests.rs:1145–1149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1143
1144#[tokio::test]
1145async fn test_is_closed_starts_false() {
1146 let agent = Agent::from_config(test_config()).await.unwrap();
1147 let session = agent.session("/tmp/test-close-default", None).unwrap();
1148 assert!(!session.is_closed());
1149}
1150
1151#[tokio::test]
1152async fn test_close_marks_session_closed_and_is_idempotent() {

Callers

nothing calls this directly

Calls 2

test_configFunction · 0.70
sessionMethod · 0.45

Tested by

no test coverage detected