update test fixtures to capture log output
Change-Id: I0a99a77bdcf02cae8d0ebaf0d3a25f3204a4161e Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
e12ecf7c77
commit
caadd1d11c
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user