MCPcopy Index your code
hub / github.com/Textualize/textual / test_constructor

Function test_constructor

tests/test_content.py:37–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def test_constructor():
38 content = Content("Hello, World")
39 assert content
40 assert len(content) == 12
41 assert content.cell_length == 12
42 assert content.plain == "Hello, World"
43 repr(content)
44
45
46def test_bool():

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…