MCPcopy Create free account
hub / github.com/FastLED/FastLED / setUp

Method setUp

ci/tests/test_lock_database.py:107–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 """Write lock blocks other PIDs."""
106
107 def setUp(self) -> None:
108 self.temp_dir = tempfile.mkdtemp()
109 self.db_path = Path(self.temp_dir) / "test_locks.db"
110 self.db = LockDatabase(self.db_path)
111
112 def tearDown(self) -> None:
113 import shutil

Callers

nothing calls this directly

Calls 1

LockDatabaseClass · 0.90

Tested by

no test coverage detected