(self)
| 18 | _history.clear() |
| 19 | |
| 20 | def test_unique_patch(self): |
| 21 | res = tool_patch_file(str(self.test_file), "line 1", "LINE 1") |
| 22 | self.assertIn("Patched", res) |
| 23 | self.assertEqual(self.test_file.read_text(), "LINE 1\nline 2\nline 2\nline 3") |
| 24 | |
| 25 | def test_collision(self): |
| 26 | res = tool_patch_file(str(self.test_file), "line 2", "LINE 2") |
nothing calls this directly
no test coverage detected