oslotest.output Module¶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 if
OS_STDERR_CAPTURE is true then stderr is captured.
“True” values include True, true, 1, and yes.
stdout¶The stream attribute from a StringStream instance
replacing stdout.
stderr¶The stream attribute from a StringStream instance
replacing stderr.
setUp()¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.