MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / tearDown

Method tearDown

tests/test_patch.py:15–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 _history.clear()
14
15 def tearDown(self):
16 if self.test_file.exists():
17 os.remove(self.test_file)
18 _history.clear()
19
20 def test_unique_patch(self):
21 res = tool_patch_file(str(self.test_file), "line 1", "LINE 1")

Callers

nothing calls this directly

Calls 3

existsMethod · 0.80
removeMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected