diff options
-rw-r--r-- | tests/test_markdown_link_style/test_logging.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_markdown_link_style/test_logging.py b/tests/test_markdown_link_style/test_logging.py index a82b355..39787c5 100644 --- a/tests/test_markdown_link_style/test_logging.py +++ b/tests/test_markdown_link_style/test_logging.py @@ -44,7 +44,9 @@ class TestMDLSLogger(object): assert self.stream.getvalue().strip('\n') == log_msg def test_warning(self): - self.logger.warning('WARNING::MSG') + log_msg = 'DEBUG::WARNING' + self.logger.warning(log_msg) + assert self.stream.getvalue().strip('\n') == log_msg def teardown(self): pass |