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 f0d75899333d02bfcaff55d335fa092a501043ab
parent d47eb87c07a615f518c99306bf7b5b9b34029adf
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon, 20 Mar 2017 01:10:43 +0000

test: Add `TestMDLSLogger.test_error`

* tests/test_markdown_link_style/test_logging.py
(TestMDLSLogger.test_error): Add test method.

Diffstat:
tests/test_markdown_link_style/test_logging.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/tests/test_markdown_link_style/test_logging.py b/tests/test_markdown_link_style/test_logging.py @@ -48,5 +48,10 @@ class TestMDLSLogger(object): self.logger.warning(log_msg) assert self.stream.getvalue().strip('\n') == log_msg + def test_error(self): + log_msg = 'DEBUG::ERROR' + self.logger.error(log_msg) + assert self.stream.getvalue().strip('\n') == log_msg + def teardown(self): pass