diff options
author | rsiddharth <s@ricketyspace.net> | 2017-03-20 01:08:48 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2017-03-20 01:08:48 +0000 |
commit | d47eb87c07a615f518c99306bf7b5b9b34029adf (patch) | |
tree | 1d666b650638d1b7a0439622ae524608f84c7fe2 | |
parent | 24aae426fefea3817ede0d3bfddcf81915899d04 (diff) |
tests: Update `TestMDLSLogger.test_warning`.
* tests/test_markdown_link_style/test_logging.py
(TestMDLSLogger.test_warning): Update test method.
-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 |