diff options
-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 3ccf72c..d4aea87 100644 --- a/tests/test_markdown_link_style/test_logging.py +++ b/tests/test_markdown_link_style/test_logging.py @@ -53,5 +53,10 @@ class TestMDLSLogger(object): self.logger.error(log_msg) assert self.stream.getvalue().strip('\n') == log_msg + def test_critical(self): + log_msg = 'DEBUG::CRITICAL' + self.logger.critical(log_msg) + assert self.stream.getvalue().strip('\n') == log_msg + def teardown(self): pass |