diff options
author | rsiddharth <s@ricketyspace.net> | 2017-03-20 01:10:43 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2017-03-20 01:10:43 +0000 |
commit | f0d75899333d02bfcaff55d335fa092a501043ab (patch) | |
tree | ab2c62894557d5c3d3852d81b09452a5351815be | |
parent | d47eb87c07a615f518c99306bf7b5b9b34029adf (diff) |
test: Add `TestMDLSLogger.test_error`
* tests/test_markdown_link_style/test_logging.py
(TestMDLSLogger.test_error): Add test method.
-rw-r--r-- | tests/test_markdown_link_style/test_logging.py | 5 |
1 files 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 index 39787c5..3ccf72c 100644 --- 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 |