()
| 150 | |
| 151 | |
| 152 | def test_reset(): |
| 153 | md = MarkdownIt("zero") |
| 154 | with md.reset_rules(): |
| 155 | md.disable("inline") |
| 156 | assert md.get_active_rules() == { |
| 157 | "block": ["paragraph"], |
| 158 | "core": ["normalize", "block", "text_join"], |
| 159 | "inline": ["text"], |
| 160 | "inline2": ["balance_pairs", "fragments_join"], |
| 161 | } |
| 162 | assert md.get_active_rules() == { |
| 163 | "block": ["paragraph"], |
| 164 | "core": ["normalize", "block", "inline", "text_join"], |
| 165 | "inline": ["text"], |
| 166 | "inline2": ["balance_pairs", "fragments_join"], |
| 167 | } |
| 168 | |
| 169 | |
| 170 | def test_parseInline(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…