MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / test_parse_table_vertical

Function test_parse_table_vertical

tests/test_utils.py:32–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def test_parse_table_vertical():
33 table = parse_table(
34 """+---------+--------------+
35| Id | 1 |
36| Name | 2 |
37| Value | c |
38+---------+--------------+
39"""
40 )
41 assert table.header is None
42 assert table.rows == [
43 ["Id", "1"],
44 ["Name", "2"],
45 ["Value", "c"],
46 ]
47
48
49def test_parse_table_multiline_value():

Callers

nothing calls this directly

Calls 1

parse_tableFunction · 0.85

Tested by

no test coverage detected