diff options
author | rsiddharth <s@ricketyspace.net> | 2017-02-22 03:47:42 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2017-02-22 03:47:42 +0000 |
commit | 4e645f0a298fa061899eafd10722534beb305189 (patch) | |
tree | abc0a4a85706813a9c533ba5ed13c073dafbb957 /tests/test_mdl_style.py | |
parent | 08f44ce7e60f61a2a87a71ee033b045b8d995125 (diff) |
mdl_stlye: Update `LSRenderer` class.
* TODO: Update file.
* markdown_link_style/_version.py (__version__): Update variable.
* mdl_style.py (LSRenderer.image): Add method.
* tests/data/inline_parses_images_00-expected.md: Add file.
* tests/data/inline_parses_images_00.md: Add file.
* tests/test_mdl_style.py
(TestLSRendererIL.test_renderer_parses_images): Add test method.
Diffstat (limited to 'tests/test_mdl_style.py')
-rw-r--r-- | tests/test_mdl_style.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_mdl_style.py b/tests/test_mdl_style.py index 21463fc..94cdd75 100644 --- a/tests/test_mdl_style.py +++ b/tests/test_mdl_style.py @@ -47,9 +47,13 @@ class TestLSRendererIL(object): expected_result = _get_data('inline_link_style_00-expected.md') assert_equal(self.md(d), expected_result) + def test_renderer_parses_images(self): + d = _get_data('inline_parses_images_00.md') + expected_result = _get_data('inline_parses_images_00-expected.md') + assert_equal(self.md(d), expected_result) + def test_renderer_does_not_parse_link_breaks(self): d = _get_data('does_not_parse_link_breaks_00.md') - #print('${}$'.format(self.md(d))) assert_equal(self.md(d), d) def test_renderer_does_not_parse_headers(self): |