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:
parent
35eaa27a04
commit
7e7bdb198e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user