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

Function test_validate_session_id_empty

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

Source from the content-addressed store, hash-verified

1977
1978 #[test]
1979 fn test_validate_session_id_empty() {
1980 let err = validate_session_id("").unwrap_err();
1981 assert!(matches!(err, AgentError::SessionIdInvalid { .. }));
1982 }
1983
1984 #[test]
1985 fn test_validate_session_id_path_traversal() {

Callers

nothing calls this directly

Calls 1

validate_session_idFunction · 0.85

Tested by

no test coverage detected