markdown-link-style

switch between inline and footnote link style in markdown documents.
git clone git://git.ricketyspace.net/markdown-link-style.git
Log | Files | Refs

commit aaf8a42cb5d78cc0653d682149eeeedc15e8f77a
parent 7765fad0e250068744182f3551bcfd0834497dec
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu, 23 Feb 2017 01:28:17 +0000

tests: Change test method names in test_mdl_style module.

* tests/test_mdl_style.py
(TestLSRendererIL.test_renderer_parses_images): Remove test method.
(TestLSRendererIL.test_renderer_parses_images_00): Add test method.
(TestLSRendererIL.test_renderer_does_not_parse_link_breaks): Remove test method.
(TestLSRendererIL.test_renderer_does_not_parse_link_breaks_00): Add test method.
(TestLSRendererIL.test_renderer_does_not_parse_headers): Remove test method.
(TestLSRendererIL.test_renderer_does_not_parse_headers_00): Add test method.
(TestLSRendererIL.test_renderer_does_not_parse_blockquotes): Remove test method.
(TestLSRendererIL.test_renderer_does_not_parse_blockquotes_00): Add test method.
(TestLSRendererIL.test_renderer_does_not_parse_lists): Remove test method.
(TestLSRendererIL.test_renderer_does_not_parse_lists_00): Add test method.
(TestLSRendererIL.test_renderer_does_not_parse_codeblocks): Remove test method.
(TestLSRendererIL.test_renderer_does_not_parse_codeblocks_00): Add test method.
(TestLSRendererIL.test_renderer_does_not_parse_hrules): Remove test method.
(TestLSRendererIL.test_renderer_does_not_parse_hrules_00): Add test method.
(TestLSRendererIL.test_renderer_does_not_parse_emphasis): Remove test method.
(TestLSRendererIL.test_renderer_does_not_parse_emphasis_00): Add test method.
(TestLSRendererIL.test_renderer_does_not_parse_code): Remove test method.
(TestLSRendererIL.test_renderer_does_not_parse_code_00): Add test method.
(TestLSRendererFN.test_renderer_parses_images): Remove test method.
(TestLSRendererFN.test_renderer_parses_images_00): Add test method.
(TestLSRendererFN.test_renderer_does_not_parse_link_breaks): Remove test method.
(TestLSRendererFN.test_renderer_does_not_parse_link_breaks_00): Add test method.
(TestLSRendererFN.test_renderer_does_not_parse_headers): Remove test method.
(TestLSRendererFN.test_renderer_does_not_parse_headers_00): Add test method.
(TestLSRendererFN.test_renderer_does_not_parse_blockquotes): Remove test method.
(TestLSRendererFN.test_renderer_does_not_parse_blockquotes_00): Add test method.
(TestLSRendererFN.test_renderer_does_not_parse_lists): Remove test method.
(TestLSRendererFN.test_renderer_does_not_parse_lists_00): Add test method.
(TestLSRendererFN.test_renderer_does_not_parse_codeblocks): Remove test method.
(TestLSRendererFN.test_renderer_does_not_parse_codeblocks_00): Add test method.
(TestLSRendererFN.test_renderer_does_not_parse_hrules): Remove test method.
(TestLSRendererFN.test_renderer_does_not_parse_hrules_00): Add test method.
(TestLSRendererFN.test_renderer_does_not_parse_emphasis): Remove test method.
(TestLSRendererFN.test_renderer_does_not_parse_emphasis_00): Add test method.
(TestLSRendererFN.test_renderer_does_not_parse_code): Remove test method.
(TestLSRendererFN.test_renderer_does_not_parse_code_00): Add test method.

Diffstat:
tests/test_mdl_style.py | 36++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/tests/test_mdl_style.py b/tests/test_mdl_style.py @@ -47,40 +47,40 @@ 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): + def test_renderer_parses_images_00(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): + def test_renderer_does_not_parse_link_breaks_00(self): d = _get_data('does_not_parse_link_breaks_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_headers(self): + def test_renderer_does_not_parse_headers_00(self): d = _get_data('does_not_parse_headers_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_blockquotes(self): + def test_renderer_does_not_parse_blockquotes_00(self): d = _get_data('does_not_parse_blockquotes_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_lists(self): + def test_renderer_does_not_parse_lists_00(self): d = _get_data('does_not_parse_lists_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_codeblocks(self): + def test_renderer_does_not_parse_codeblocks_00(self): d = _get_data('does_not_parse_codeblocks_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_hrules(self): + def test_renderer_does_not_parse_hrules_00(self): d = _get_data('does_not_parse_hrules_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_emphasis(self): + def test_renderer_does_not_parse_emphasis_00(self): d = _get_data('does_not_parse_emphasis_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_code(self): + def test_renderer_does_not_parse_code_00(self): d = _get_data('does_not_parse_code_00.md') assert_equal(self.md(d), d) @@ -106,40 +106,40 @@ class TestLSRendererFN(object): expected_result = _get_data('footnote_link_style_00-expected.md') assert_equal(self.md(d), expected_result) - def test_renderer_parses_images(self): + def test_renderer_parses_images_00(self): d = _get_data('footnote_parses_images_00.md') expected_result = _get_data('footnote_parses_images_00-expected.md') assert_equal(self.md(d), expected_result) - def test_renderer_does_not_parse_link_breaks(self): + def test_renderer_does_not_parse_link_breaks_00(self): d = _get_data('does_not_parse_link_breaks_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_headers(self): + def test_renderer_does_not_parse_headers_00(self): d = _get_data('does_not_parse_headers_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_blockquotes(self): + def test_renderer_does_not_parse_blockquotes_00(self): d = _get_data('does_not_parse_blockquotes_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_lists(self): + def test_renderer_does_not_parse_lists_00(self): d = _get_data('does_not_parse_lists_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_codeblocks(self): + def test_renderer_does_not_parse_codeblocks_00(self): d = _get_data('does_not_parse_codeblocks_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_hrules(self): + def test_renderer_does_not_parse_hrules_00(self): d = _get_data('does_not_parse_hrules_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_emphasis(self): + def test_renderer_does_not_parse_emphasis_00(self): d = _get_data('does_not_parse_emphasis_00.md') assert_equal(self.md(d), d) - def test_renderer_does_not_parse_code(self): + def test_renderer_does_not_parse_code_00(self): d = _get_data('does_not_parse_code_00.md') assert_equal(self.md(d), d)