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

Function test_justify

tests/test_log.py:54–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53
54def test_justify():
55 console = Console(width=20, log_path=False, log_time=False, color_system=None)
56 console.begin_capture()
57 console.log("foo", justify="right")
58 result = console.end_capture()
59 assert result == " foo\n"
60
61
62if __name__ == "__main__":

Callers

nothing calls this directly

Calls 4

begin_captureMethod · 0.95
logMethod · 0.95
end_captureMethod · 0.95
ConsoleClass · 0.90

Tested by

no test coverage detected