Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Test formatting errors with log level being emitted
Browse files Browse the repository at this point in the history
The test to ensure that formatting errors are handled properly was being
run using info level logging, but the default log configuration for
tests does not emit messages at that level, so switch to error.

Back-ported from commit with the same ID in oslo.log.

Change-Id: Ie11a51deea65627b45a11d7dfca36d16c1b5949e
  • Loading branch information
dhellmann committed Sep 13, 2014
1 parent 7209975 commit eb6e882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/fixture/test_logging.py
Expand Up @@ -23,6 +23,6 @@ def test_logging_handle_error(self):
LOG.info('pid of first child is %(foo)s', 1)
self.useFixture(logging_fixture.get_logging_handle_error_fixture())
self.assertRaises(TypeError,
LOG.info,
LOG.error,
'pid of first child is %(foo)s',
1)

0 comments on commit eb6e882

Please sign in to comment.