Create temporary directory for test locks.
(self)
| 27 | """Test suite for stale lock detection and recovery.""" |
| 28 | |
| 29 | def setUp(self) -> None: |
| 30 | """Create temporary directory for test locks.""" |
| 31 | self.temp_dir = Path(tempfile.mkdtemp()) |
| 32 | self.lock_path = self.temp_dir / "test.lock" |
| 33 | self.db_path = self.temp_dir / "test_locks.db" |
| 34 | self.db = LockDatabase(self.db_path) |
| 35 | os.environ["FASTLED_LOCK_DB_PATH"] = str(self.db_path) |
| 36 | |
| 37 | def tearDown(self) -> None: |
| 38 | """Clean up test files.""" |
nothing calls this directly
no test coverage detected