(capsys)
| 48 | |
| 49 | |
| 50 | def test_block_before(capsys): |
| 51 | def _plugin(_md: MarkdownIt) -> None: |
| 52 | _md.block.ruler.before("hr", "new_rule", block_rule) |
| 53 | |
| 54 | MarkdownIt().use(_plugin).parse("a") |
| 55 | assert "plugin called" in capsys.readouterr().out |
| 56 | |
| 57 | |
| 58 | def test_block_at(capsys): |
nothing calls this directly
no test coverage detected
searching dependent graphs…