MCPcopy
hub / github.com/phuryn/claude-usage / test_multiple_sessions

Method test_multiple_sessions

tests/test_scanner.py:159–166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

157 self.assertEqual(len(turns), 0)
158
159 def test_multiple_sessions(self):
160 path = self._write_jsonl("test.jsonl", [
161 _make_assistant_record(session_id="s1"),
162 _make_assistant_record(session_id="s2"),
163 ])
164 metas, turns, _, _ = parse_jsonl_file(path)
165 self.assertEqual(len(metas), 2)
166 self.assertEqual(len(turns), 2)
167
168 def test_session_timestamps_tracked(self):
169 path = self._write_jsonl("test.jsonl", [

Callers

nothing calls this directly

Calls 3

_write_jsonlMethod · 0.95
parse_jsonl_fileFunction · 0.90
_make_assistant_recordFunction · 0.85

Tested by

no test coverage detected