MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / test_empty_file

Method test_empty_file

tests/tool_tests/test_tracing.py:109–115  ·  view source on GitHub ↗

Test reading empty file

(self, tmp_path)

Source from the content-addressed store, hash-verified

107 assert len(result) == 3
108
109 def test_empty_file(self, tmp_path):
110 """Test reading empty file"""
111 path = tmp_path / "trace.jsonl"
112 path.touch()
113
114 result = list(iter_jsonl(path))
115 assert result == []
116
117
118class TestReplayDataclasses:

Callers

nothing calls this directly

Calls 2

iter_jsonlFunction · 0.90
touchMethod · 0.45

Tested by

no test coverage detected