[openstack-dev] ipdb debugging in Neutron test cases?

Qiu Yu unicell at gmail.com
Wed Jul 17 05:44:52 UTC 2013

On Wed, Jul 17, 2013 at 12:00 PM, Roman Podolyaka
<rpodolyaka at mirantis.com> wrote:
> Hi,
> Ensure that stdout isn't captured by the corresponding fixture:
> OS_STDOUT_CAPTURE=0 python -m testtools.run
> neutron.tests.unit.openvswitch.test_ovs_neutron_agent.TestOvsNeutronAgent.test_port_update
> Tests running...

Thanks Roman, ipdb works fine with test cases in Neutron master
branch. And if you run 'python -m testtools.run {testcase}', stdout is
not captured by default.

However, the issue still exists with Neutron stable/grizzly branch,
even with OS_STDOUT_CAPTURE=0. Not quite sure which change in trunk
resolved this issue.

Qiu Yu

More information about the OpenStack-dev mailing list