MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_managed_run_omitted_when_none

Function test_managed_run_omitted_when_none

atomic-agent/src/turn/session.rs:1941–1949  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1939
1940 #[test]
1941 fn test_managed_run_omitted_when_none() {
1942 let s = make_session();
1943 let json = serde_json::to_string(&s).unwrap();
1944 assert!(
1945 !json.contains("managed_run"),
1946 "managed_run must be omitted for direct sessions, got: {}",
1947 json
1948 );
1949 }
1950
1951 #[test]
1952 fn test_serde_roundtrip_with_recorded_hashes() {

Callers

nothing calls this directly

Calls 2

make_sessionFunction · 0.70
unwrapMethod · 0.45

Tested by

no test coverage detected