summaryrefslogtreecommitdiffstats
path: root/tests/test_mdl_style.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add test_mdl_style._get_data_path.rsiddharth2017-06-041-1/+4
| | | | * tests/test_mdl_style.py (_get_data_path): New function.
* Fix line lengths.rsiddharth2017-06-041-4/+8
| | | | | | * mdl_style.py: Update file. * setup.py: Update file. * tests/test_mdl_style.py: Upate file.
* tests: Update `test_mdl_style.TestLSRendererFN` class.rsiddharth2017-03-041-0/+5
| | | | | | | | * tests/data/footnote_link_style_01-expected.md: New file. * tests/data/footnote_link_style_01.md: New file. * tests/test_mdl_style.py (TestLSRendererFN.test_link_inline_to_footnote_style_conversion_01): Add method.
* tests: Update `test_mdl_style.TestLSRendererIL` class.rsiddharth2017-03-041-0/+5
| | | | | | | * tests/data/inline_link_style_01-expected.md: New file. * tests/data/inline_link_style_01.md: New file. * tests/test_mdl_style.py (TestLSRendererIL.test_link_footnote_to_inline_style_conversion_01): Add method.
* Move tests MDLSLogger in its own test module.rsiddharth2017-03-041-21/+0
| | | | | * tests/test_markdown_link_style/test_logging.py: New file. * tests/test_mdl_style.py (TestMDLSLogger): Remove class.
* unit tests for markdown_link_style.logging modulejantwisted2017-02-261-0/+21
|
* tests: Change test method names in test_mdl_style module.rsiddharth2017-02-231-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* tests: Update test_mdl_style.TestLSRendererFNrsiddharth2017-02-231-0/+42
| | | | | | | | | | | | | | | | * tests/data/footnote_parses_images_00-expected.md: Update file. * tests/data/footnote_parses_images_00.md: Update file. * tests/test_mdl_style.py (TestLSRendererFN.test_autolink_00) (TestLSRendererFN.test_renderer_parses_images) (TestLSRendererFN.test_renderer_does_not_parse_link_breaks) (TestLSRendererFN.test_renderer_does_not_parse_headers) (TestLSRendererFN.test_renderer_does_not_parse_blockquotes) (TestLSRendererFN.test_renderer_does_not_parse_lists) (TestLSRendererFN.test_renderer_does_not_parse_codeblocks) (TestLSRendererFN.test_renderer_does_not_parse_hrules) (TestLSRendererFN.test_renderer_does_not_parse_emphasis) (TestLSRendererFN.test_renderer_does_not_parse_code): Add test methods.
* tests: Update `test_mdl_style.TestLSRendererIL` class.rsiddharth2017-02-221-0/+8
| | | | | | | | * tests/data/does_not_parse_code_00.md: Add file. * tests/data/does_not_parse_emphasis_00.md: Add file. * tests/test_mdl_style.py (TestLSRendererIL.test_renderer_does_not_parse_emphasis) (TestLSRendererIL.test_renderer_does_not_parse_code): Add methods.
* mdl_stlye: Update `LSRenderer` class.rsiddharth2017-02-221-1/+5
| | | | | | | | | | * 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.
* tests.tests.mdl_style: Add tests for `mdl_style.LSRenderer`.rsiddharth2017-02-211-1/+25
| | | | | | | | | | | | | | | | | * TODO: Update file. * tests/data/does_not_parse_blockquotes_00.md: Add file. * tests/data/does_not_parse_codeblocks_00.md: Add file. * tests/data/does_not_parse_headers_00.md: Add file. * tests/data/does_not_parse_hrules_00.md: Add file. * tests/data/does_not_parse_link_breaks_00.md: Add file. * tests/data/does_not_parse_lists_00.md: Add file. * tests/test_mdl_style.py (TestLSRendererIL.test_renderer_does_not_parse_link_breaks): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_headers): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_blockquotes): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_lists): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_codeblocks): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_hrules): Add test method.
* tests: Fix TestLSRendererFN.rsiddharth2017-02-191-1/+1
| | | | | * tests/test_mdl_style.py (test_link_inline_to_footnote_style_conversion_00): Fix test method.
* CONTRIBUTORS.rst -> CONTRIBUTORSrsiddharth2017-02-191-2/+1
| | | | | | | | | | | * CONTRIBUTORS: Remove file. * CONTRIBUTORS.rst: Add file. * Makefile: Update copyright header. * markdown_link_style/_version.py: Update copyright header. * markdown_link_style/logging.py: Update copyright header. * mdl_style.py: Update copyright header. * setup.py: Update copyright header. * tests/test_mdl_style.py: Update copyright header.
* Add CONTRIBUTORS.rst.rsiddharth2017-02-191-1/+2
| | | | | | | | | | * CONTRIBUTORS.rst: Add file. * Makefile: Update copyright header. * markdown_link_style/_version.py: Update copyright header. * markdown_link_style/logging.py: Update copyright header. * mdl_style.py: Update copyright header. * setup.py: Update copyright header. * tests/test_mdl_style.py: Update copyright header.
* Add initial version the script.rsiddharth2017-02-191-3/+41
| | | | | | | | | | | | | | | | | | | * markdown_link_style/_version.py (__version__): Update version. * markdown_link_style/logging.py: New module * mdl_style.py (logger): Add variable. (LSBlockLexer, LSInlineLexer, LSRenderer, LSMarkdown) (LinkStyler): Add classes. (_mdl_stylize, _get_args): Add functions. (main): Update function. * tests/__init__.py: Add file. * tests/data/autolink_00-expected.md: Add file. * tests/data/autolink_00.md: Add file. * tests/data/footnote_link_style_00-expected.md: Add file. * tests/data/footnote_link_style_00.md: Add file. * tests/data/inline_link_style_00-expected.md: Add file. * tests/data/inline_link_style_00.md: Add file. * tests/test_mdl_style.py (TestMdlStyle): Remove class. (TestLSRendererIL, TestLSRendererFN): Add classes.
* Initial commit.rsiddharth2017-02-181-0/+31