The oslotest.output Module¶
-
class
oslotest.output.CaptureOutput¶ Bases:
fixtures.fixture.FixtureOptionally capture the output streams.
The behavior is managed through two environment variables. If
OS_STDOUT_CAPTUREis true then stdout is captured and ifOS_STDERR_CAPTUREis true then stderr is captured.“True” values include
True,true,1, andyes.-
stdout¶ The
streamattribute from aStringStreaminstance replacing stdout.
-
stderr¶ The
streamattribute from aStringStreaminstance replacing stderr.
-
setUp()¶
-