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

Method setUp

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

Source from the content-addressed store, hash-verified

26 """Basic lock acquisition and release tests."""
27
28 def setUp(self) -> None:
29 self.temp_dir = tempfile.mkdtemp()
30 self.db_path = Path(self.temp_dir) / "test_locks.db"
31 self.db = LockDatabase(self.db_path)
32
33 def tearDown(self) -> None:
34 import shutil

Callers

nothing calls this directly

Calls 1

LockDatabaseClass · 0.90

Tested by

no test coverage detected