[openstack-dev] ipdb debugging in Neutron test cases?
unicell at gmail.com
Wed Jul 17 07:50:58 UTC 2013
On Wed, Jul 17, 2013 at 3:30 PM, Roman Podolyaka
<rpodolyaka at mirantis.com> wrote:
> 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
Actually, both OS_STDOUT_NOCAPTURE=1 and OS_STDERR_NOCAPTURE=1 need to
> The behavior was changed in this commit
More information about the OpenStack-dev