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

Method setUp

tests/test_codeyignore.py:8–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6
7class TestCodeyIgnore(unittest.TestCase):
8 def setUp(self):
9 _mem.clear()
10 self.env_file = Path(".env")
11 self.env_file.write_text("SECRET=123")
12 self.ignore_file = Path(".codeyignore")
13 self.log_file = Path("test.log")
14 self.secret_dir = Path("secrets")
15
16 def tearDown(self):
17 if self.env_file.exists(): os.remove(self.env_file)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected