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

Method tearDown

ci/tests/test_cache_lock.py:88–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 os.environ["FASTLED_LOCK_DB_PATH"] = str(self.db_path)
87
88 def tearDown(self) -> None:
89 import shutil
90
91 os.environ.pop("FASTLED_LOCK_DB_PATH", None)
92 from ci.util.lock_database import _db_cache
93
94 _db_cache.clear()
95 shutil.rmtree(self.temp_dir, ignore_errors=True)
96
97 def test_force_unlock_empty_cache(self) -> None:
98 """Force unlock on empty cache should return 0"""

Callers

nothing calls this directly

Calls 2

popMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected