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:1978–1981  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1976
1977 #[test]
1978 fn test_validate_session_id_empty() {
1979 let err = validate_session_id("").unwrap_err();
1980 assert!(matches!(err, AgentError::SessionIdInvalid { .. }));
1981 }
1982
1983 #[test]
1984 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