MCPcopy
hub / github.com/Textualize/textual / test_set_dirty

Function test_set_dirty

tests/test_styles_cache.py:18–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18def test_set_dirty():
19 cache = StylesCache()
20 cache.set_dirty(Region(3, 4, 10, 2))
21 assert not cache.is_dirty(3)
22 assert cache.is_dirty(4)
23 assert cache.is_dirty(5)
24 assert not cache.is_dirty(6)
25
26
27def test_border():

Callers

nothing calls this directly

Calls 4

set_dirtyMethod · 0.95
is_dirtyMethod · 0.95
StylesCacheClass · 0.90
RegionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…