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

Function test_shortcuts

tests/test_align.py:130–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129
130def test_shortcuts():
131 assert Align.left("foo").align == "left"
132 assert Align.left("foo").renderable == "foo"
133 assert Align.right("foo").align == "right"
134 assert Align.right("foo").renderable == "foo"
135 assert Align.center("foo").align == "center"
136 assert Align.center("foo").renderable == "foo"
137
138
139def test_vertical_center():

Callers

nothing calls this directly

Calls 3

leftMethod · 0.80
rightMethod · 0.80
centerMethod · 0.80

Tested by

no test coverage detected