<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Ben,</span></div><div><br><span></span></div><div><span>I am using:</span></div><div><span><br></span></div><div><span>1. nosetests 1.0</span></div><div><span>2. nosetests -s --with-xunit generates the XML file</span></div><div><span>3. I use nosetests -s -a '!mysql' $@ --with-xunit (the attrib plugin)</span></div><div><br><span></span></div><div><span>Thanks,</span></div><div><span>-Kamal.<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Ben Finney &lt;ben+python@benfinney.id.au&gt;<br><b><span
 style="font-weight: bold;">To:</span></b> testing-in-python@lists.idyll.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, June 28, 2011 11:54 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [TIP] Running two tests with the same name but with different context<br></font><br>
Kamal Ahmed &lt;<a ymailto="mailto:kamal2222ahmed@yahoo.com" href="mailto:kamal2222ahmed@yahoo.com">kamal2222ahmed@yahoo.com</a>&gt; writes:<br><br>&gt; I have a test <a target="_blank" href="http://footest.py">footest.py</a> which runs <br>&gt; with mysql database, and the same test runs on psql database, is there a<br>&gt;&nbsp; way to distinguish this difference in an XML result file between the <br>&gt; two tests.<br><br>What test runner are you using?<br><br>What generates the XML result file?<br><br>What determines which database interface will be used when running the<br>test?<br><br>-- <br> \&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; “Only the educated are free.” —Epictetus, _Discourses_ |<br>&nbsp; `\&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
 |<br>_o__)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br>Ben Finney<br><br><br>_______________________________________________<br>testing-in-python mailing list<br><a ymailto="mailto:testing-in-python@lists.idyll.org" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>http://lists.idyll.org/listinfo/testing-in-python<br><br><br></div></div></blockquote></div></div></body></html>