(self)
| 75 | Path(f.name).unlink() |
| 76 | |
| 77 | def test_read_nonexistent(self): |
| 78 | result = self.tool.execute({"path": "/nonexistent/file.txt"}) |
| 79 | self.assertTrue(result.is_error) |
| 80 | |
| 81 | def test_read_with_offset_and_limit(self): |
| 82 | with tempfile.NamedTemporaryFile(mode="w", suffix=".txt", delete=False) as f: |