MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_session_save_no_store

Function test_session_save_no_store

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

Source from the content-addressed store, hash-verified

2031
2032#[tokio::test(flavor = "multi_thread")]
2033async fn test_session_save_no_store() {
2034 let agent = Agent::from_config(test_config()).await.unwrap();
2035 let session = agent.session("/tmp/test-ws-save", None).unwrap();
2036 // save() is a no-op when no store is configured
2037 session.save().await.unwrap();
2038}
2039
2040#[tokio::test(flavor = "multi_thread")]
2041async fn test_session_save_and_load() {

Callers

nothing calls this directly

Calls 3

test_configFunction · 0.70
sessionMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected