(capsys)
| 40 | |
| 41 | |
| 42 | def test_block_after(capsys): |
| 43 | def _plugin(_md: MarkdownIt) -> None: |
| 44 | _md.block.ruler.after("hr", "new_rule", block_rule) |
| 45 | |
| 46 | MarkdownIt().use(_plugin).parse("a") |
| 47 | assert "plugin called" in capsys.readouterr().out |
| 48 | |
| 49 | |
| 50 | def test_block_before(capsys): |
nothing calls this directly
no test coverage detected
searching dependent graphs…