<font size=2 face="sans-serif">Hey Eric,</font>
<br>
<br><font size=2 face="sans-serif">The keystone team has a work around
for this, not sure if it's applicable to the QA team, but I'll share anyway!</font>
<br>
<br><font size=2 face="sans-serif">It's documented it here: </font><a href="http://docs.openstack.org/developer/keystone/developing.html#running-with-pdb"><font size=2 face="sans-serif">http://docs.openstack.org/developer/keystone/developing.html#running-with-pdb</font></a><font size=2 face="sans-serif"><br>
In short, there is a new debug tox environment -> </font><a href=https://github.com/openstack/keystone/blob/master/tox.ini#L53><font size=2 face="sans-serif">https://github.com/openstack/keystone/blob/master/tox.ini#L53</font></a>
<br><font size=2 face="sans-serif">Which just kicks off this script ->
</font><a href=https://github.com/openstack/keystone/blob/master/tools/debug_helper.sh><font size=2 face="sans-serif">https://github.com/openstack/keystone/blob/master/tools/debug_helper.sh</font></a>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=1 face="Arial">Regards,</font>
<br>
<br><font size=3 color=#8f8f8f face="Arial"><b>Steve Martinelli</b></font><font size=1 face="Arial"><br>
Software Developer - Openstack<br>
Keystone Core Member</font>
<table width=680 style="border-collapse:collapse;">
<tr height=8>
<td width=680 colspan=2 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<hr>
<tr valign=top height=8>
<td width=420 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#4181c0 face="Arial"><b>Phone:</b></font><font size=1 color=#5f5f5f face="Arial">
1-905-413-2851</font><font size=1 color=#4181c0 face="Arial"><b><br>
E-mail:</b></font><font size=1 color=#5f5f5f face="Arial"> </font><a href=mailto:stevemar@ca.ibm.com target=_blank><font size=1 color=#5f5f5f face="Arial"><u>stevemar@ca.ibm.com</u></font></a>
<td width=259 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 color=#5f5f5f face="Arial">8200 Warden Ave<br>
Markham, ON L6G 1C7<br>
Canada</font></div></table>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">"Pendergrass,
Eric" <eric.pendergrass@hp.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">"openstack-dev@lists.openstack.org"
<openstack-dev@lists.openstack.org>, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">05/07/2014 02:17 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">[openstack-dev]
[qa] Debugging tox tests with pdb?</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="Calibri">Hi, I’ve read much of the documentation
around Openstack tests, tox, and testr.  All I’ve found indicates
debugging can be done, but only by running the entire test suite.</font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri">I’d like the ability to run a single test
module with pdb.set_trace() breakpoints inserted, then step through the
test.  I’ve tried this but it causes test failures on a test that
would otherewise succeed.  The command I use to run the test is similar
to this:  tox -e py27 <test_module_name></font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri">Is there some way to debug single tests
that I haven’t found?  If not, how is everyone doing test development
without the ability to debug?</font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri">Thanks,</font>
<br><font size=2 face="Calibri">Eric Pendergrass[attachment "smime.p7s"
deleted by Steve Martinelli/Toronto/IBM] </font><tt><font size=2>_______________________________________________<br>
OpenStack-dev mailing list<br>
OpenStack-dev@lists.openstack.org<br>
</font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size=2><br>
</font></tt>
<br>