Test a clone that enables no plugin, the generated settings' layout, and a .jsonl beside a home's projects folder
CI / tests (pull_request) Successful in 4m49s
CI / tests (pull_request) Successful in 4m49s
This commit is contained in:
@@ -1670,6 +1670,11 @@ class TranscriptRead(unittest.TestCase):
|
||||
with self.subTest(path):
|
||||
self.assertEqual(self.breached("Read", {"file_path": path}), [])
|
||||
|
||||
def test_a_read_of_a_jsonl_file_beside_a_homes_projects_folder_passes(self):
|
||||
for path in ("/home/h/.claude/history.jsonl", "/home/h/.local/share/build-release/claude-home/history.jsonl"):
|
||||
with self.subTest(path):
|
||||
self.assertEqual(self.breached("Read", {"file_path": path}), [])
|
||||
|
||||
def test_a_jsonl_file_outside_the_projects_folder_passes(self):
|
||||
self.assertEqual(self.breached("Read", {"file_path": "/home/h/code/acme/cases.jsonl"}), [])
|
||||
self.assertEqual(self.breached("Read", {"file_path": "/home/h/.local/state/build-release/transcripts/x.jsonl"}), [])
|
||||
|
||||
Reference in New Issue
Block a user