Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
46
def
test_bool():
47
assert bool(Content(
"foo"
)) is True
48
assert bool(Content(
""
)) is False
49
50
51
def
test_from_rich_text():
Callers
nothing calls this directly
Calls
1
Content
Class · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…