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

Method setUp

ci/tests/test_file_lock_rw.py:87–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 """Test lock breaking functionality"""
86
87 def setUp(self) -> None:
88 self.temp_dir = tempfile.mkdtemp()
89 self.db_path = Path(self.temp_dir) / "test_locks.db"
90 self.db = LockDatabase(self.db_path)
91 os.environ["FASTLED_LOCK_DB_PATH"] = str(self.db_path)
92
93 def tearDown(self) -> None:
94 import shutil

Callers

nothing calls this directly

Calls 1

LockDatabaseClass · 0.90

Tested by

no test coverage detected