The oslotest.output
Module¶
-
class
oslotest.output.
CaptureOutput
¶ Bases:
fixtures.fixture.Fixture
Optionally capture the output streams.
The behavior is managed through two environment variables. If
OS_STDOUT_CAPTURE
is true then stdout is captured and ifOS_STDERR_CAPTURE
is true then stderr is captured.“True” values include
True
,true
,1
, andyes
.-
stdout
¶ The
stream
attribute from aStringStream
instance replacing stdout.
-
stderr
¶ The
stream
attribute from aStringStream
instance replacing stderr.
-
setUp
()¶
-