Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_indent
Function
test_indent
tests/test_padding.py:14–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
13
14
def
test_indent():
15
indent_result = Padding.indent(
"test"
, 4)
16
assert indent_result.top == 0
17
assert indent_result.right == 0
18
assert indent_result.bottom == 0
19
assert indent_result.left == 4
20
21
22
def
test_unpack():
Callers
nothing calls this directly
Calls
1
indent
Method · 0.80
Tested by
no test coverage detected