()
| 15 | |
| 16 | |
| 17 | def test_property_passthrough(): |
| 18 | tokens = MarkdownIt().parse(EXAMPLE_MARKDOWN) |
| 19 | heading_open = tokens[0] |
| 20 | tree = SyntaxTreeNode(tokens) |
| 21 | heading_node = tree.children[0] |
| 22 | assert heading_open.tag == heading_node.tag |
| 23 | assert tuple(heading_open.map or ()) == heading_node.map |
| 24 | assert heading_open.level == heading_node.level |
| 25 | assert heading_open.content == heading_node.content |
| 26 | assert heading_open.markup == heading_node.markup |
| 27 | assert heading_open.info == heading_node.info |
| 28 | assert heading_open.meta == heading_node.meta |
| 29 | assert heading_open.block == heading_node.block |
| 30 | assert heading_open.hidden == heading_node.hidden |
| 31 | |
| 32 | |
| 33 | def test_type(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…