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

Method setUp

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

Source from the content-addressed store, hash-verified

8
9class TestPatch(unittest.TestCase):
10 def setUp(self):
11 self.test_file = Path("test_patch.txt")
12 self.test_file.write_text("line 1\nline 2\nline 2\nline 3")
13 _history.clear()
14
15 def tearDown(self):
16 if self.test_file.exists():

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected