MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_transcript_path_rejects_traversal

Function test_transcript_path_rejects_traversal

tests/test_transcript.py:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def test_transcript_path_rejects_traversal() -> None:
38 with pytest.raises(ValueError, match="invalid agent_id"):
39 get_agent_transcript_path("../../etc/passwd")
40
41
42def test_transcript_path_rejects_empty_id() -> None:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected