Conditions | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # This Python file uses the following encoding: utf-8 |
||
13 | def verify_conversion(markdown, expected, format='markdown'): |
||
14 | doc = conversion(markdown, format) |
||
15 | text = convert_text(doc, input_format='panflute', output_format='markdown', extra_args=['--wrap=none'], standalone=True) |
||
16 | debug('**computed**') |
||
17 | debug(text.strip()) |
||
18 | debug('**expected**') |
||
19 | debug(expected.strip()) |
||
20 | assert text.strip() == expected.strip() |
||
21 | |||
22 |