(self)
| 248 | os.environ["FASTLED_LOCK_DB_PATH"] = str(self.db_path) |
| 249 | |
| 250 | def tearDown(self) -> None: |
| 251 | import shutil |
| 252 | |
| 253 | os.environ.pop("FASTLED_LOCK_DB_PATH", None) |
| 254 | from ci.util.lock_database import _db_cache |
| 255 | |
| 256 | _db_cache.clear() |
| 257 | shutil.rmtree(self.temp_dir, ignore_errors=True) |
| 258 | |
| 259 | def test_nonexistent_artifact_not_locked(self) -> None: |
| 260 | """Nonexistent artifact should not be locked""" |