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

Function test_bool

tests/test_content.py:46–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45
46def test_bool():
47 assert bool(Content("foo")) is True
48 assert bool(Content("")) is False
49
50
51def test_from_rich_text():

Callers

nothing calls this directly

Calls 1

ContentClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…