Expose StandardLogging fixture for use
This will allow any tests to access self.stdlog.logger.output to see
what was logged.
Change-Id: I8855b10d57c067e06eccc887dea9a9e0e57dcb4c
(cherry picked from commit 7e7bdb198e
)
This commit is contained in:
parent
720611893b
commit
0adb6ec82a
@ -199,7 +199,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