update test fixtures to capture log output

Change-Id: I0a99a77bdcf02cae8d0ebaf0d3a25f3204a4161e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-10-10 12:46:12 -04:00
parent e12ecf7c77
commit caadd1d11c
1 changed files with 1 additions and 0 deletions

View File

@ -31,3 +31,4 @@ class TestCase(testtools.TestCase):
self._stderr_fixture = fixtures.StringStream('stderr')
self.stderr = self.useFixture(self._stderr_fixture).stream
self.useFixture(fixtures.MonkeyPatch('sys.stderr', self.stderr))
self.useFixture(fixtures.FakeLogger())