MCPcopy Create free account
hub / github.com/aws/aws-cli / test_max_width_calculation

Method test_max_width_calculation

tests/unit/test_table.py:104–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

102 self.table = MultiTable()
103
104 def test_max_width_calculation(self):
105 self.table.add_title('foo')
106 self.table.add_row_header(['one', 'two', 'three'])
107 self.table.add_row(['one', 'two', 'three'])
108 self.table.new_section('bar')
109 self.table.add_row_header(['one', 'two'])
110 self.table.add_row(['12345', '1234567'])
111
112
113class TestVerticalTableConversion(unittest.TestCase):

Callers

nothing calls this directly

Calls 4

add_row_headerMethod · 0.80
new_sectionMethod · 0.80
add_titleMethod · 0.45
add_rowMethod · 0.45

Tested by

no test coverage detected