diff options
author | rsiddharth <s@ricketyspace.net> | 2018-02-18 20:42:12 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-02-18 20:42:12 +0000 |
commit | 0b51106b5915ff7b22ff71d339e640794f9a407c (patch) | |
tree | 73a31749b11916686438c6ce329e4a9d574f9b9c /tests/test_md_tw.py | |
parent | 606d8d17ba1537f42d5693d593af4b6bbd8ec355 (diff) |
tests: Add TestTWRenderer.test_render_block_html.
* tests/data/renderer-block-html-w.md: New file.
* tests/data/renderer-block-html.md: New file.
* tests/test_md_tw.py (test_render_block_html): New test method.
Diffstat (limited to 'tests/test_md_tw.py')
-rw-r--r-- | tests/test_md_tw.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_md_tw.py b/tests/test_md_tw.py index 7d42e14..a38afcb 100644 --- a/tests/test_md_tw.py +++ b/tests/test_md_tw.py @@ -796,6 +796,12 @@ class TestTWRenderer(object): self._validate(txt, expected_txt) + def test_render_block_html(self): + txt = self._md('renderer-block-html.md') + expected_txt = self._get('renderer-block-html-w.md') + + self._validate(txt, expected_txt) + def teardown(self): if self.del_tmp_dir: shutil.rmtree(self.tmp_dir) |