Expose StandardLogging fixture for use

This will allow any tests to access self.stdlog.logger.output to see
what was logged.

Change-Id: I8855b10d57c067e06eccc887dea9a9e0e57dcb4c
This commit is contained in:
Sean Dague 2017-04-27 11:32:02 -04:00 committed by Matt Riedemann
parent 35eaa27a04
commit 7e7bdb198e

View File

@ -200,7 +200,8 @@ class TestCase(testtools.TestCase):
self.useFixture(nova_fixtures.OutputStreamCapture())
self.useFixture(nova_fixtures.StandardLogging())
self.stdlog = nova_fixtures.StandardLogging()
self.useFixture(self.stdlog)
# NOTE(sdague): because of the way we were using the lock
# wrapper we ended up with a lot of tests that started