On Wed, Jul 17, 2013 at 3:30 PM, Roman Podolyaka <[email protected]> wrote: > Hi, > > Indeed, stable/grizzly contains the following code in the base test case > class (quantum/tests/base.py): > > if os.environ.get('OS_STDOUT_NOCAPTURE') not in TRUE_STRING: > stdout = self.useFixture(fixtures.StringStream('stdout')).stream > self.useFixture(fixtures.MonkeyPatch('sys.stdout', stdout)) >
Oh, I see. Thank you so much, Roman. > so stdout is captured by default, and you should use OS_STDOUT_NOCAPTURE=1 > instead. > Actually, both OS_STDOUT_NOCAPTURE=1 and OS_STDERR_NOCAPTURE=1 need to be specified. > The behavior was changed in this commit > https://github.com/openstack/neutron/commit/91bd4bbaeac37d12e61c9c7b033f55ec9f1ab562. > > Thanks, > Roman -- Qiu Yu _______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
