MCPcopy Create free account
hub / github.com/apify/crawlee-python / test_long_content_truncation

Function test_long_content_truncation

tests/unit/_utils/test_console.py:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def test_long_content_truncation() -> None:
35 data = [('Short', 'VeryVeryVeryLongContent')]
36 result = make_table(data, width=25)
37 lines = result.split('\n')
38 # fmt: off
39 assert lines == ['┌───────────┬───────────┐',
40 '│ Short │ VeryVe... │',
41 '└───────────┴───────────┘']
42 # fmt: on

Callers

nothing calls this directly

Calls 1

make_tableFunction · 0.90

Tested by

no test coverage detected