[openstack-dev] How to debug test using pdb

Saju M sajuptpm at gmail.com
Sun Nov 30 11:08:01 UTC 2014


How to debug test using pdb

I want to debug tests and tried following methods, but didn't work
(could not see pdb> console).
I could see only the message "Tests running..." and command got stuck.

I tried this with python-neutronclient, that does not have run_test.sh

#source .tox/py27/bin/activate
#.tox/py27/bin/python -m testtools.run

#testr list-tests '(CLITestV20NetworkJSON.test_create_network)' > my-list
#python -m testtools.run discover --load-list my-list

Saju Madhavan
+91 09535134654
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2014-11-30 16:25:55.png
Type: image/png
Size: 198901 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141130/166d2e16/attachment-0001.png>

More information about the OpenStack-dev mailing list