Merge "test: Store the OutputStreamCapture fixture"

This commit is contained in:
Zuul 2017-12-27 12:43:42 +00:00 committed by Gerrit Code Review
commit c8bf684250
1 changed files with 2 additions and 1 deletions

View File

@ -230,7 +230,8 @@ class TestCase(testtools.TestCase):
self.useFixture(fixtures.TempHomeDir())
self.useFixture(log_fixture.get_logging_handle_error_fixture())
self.useFixture(nova_fixtures.OutputStreamCapture())
self.output = nova_fixtures.OutputStreamCapture()
self.useFixture(self.output)
self.stdlog = nova_fixtures.StandardLogging()
self.useFixture(self.stdlog)