MCPcopy
hub / github.com/Textualize/rich / test_align_center

Function test_align_center

tests/test_text.py:948–951  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

946
947
948def test_align_center():
949 text = Text("foo")
950 text.align("center", 10)
951 assert text.plain == " foo "
952
953
954def test_detect_indentation():

Callers

nothing calls this directly

Calls 2

alignMethod · 0.95
TextClass · 0.90

Tested by

no test coverage detected