<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Integrating SpiraTest with PyUnit (Thread)</title><description> Hi, I am seeing the below error when trying to execute the pyunit script. Can you help ?    File /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/spiratestextension.py, line 72, in recordResults     spiraTestExecute.recordTestRun(testCaseId, releaseId, testSetId, startDate, endDate, executionStatus, runnerName, testMethodNameString, assertCount, message, stackTrace)   File /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/spiratestexecute.py, line 69, in recordTestRun     print (Failed to send results to SpiraTest: , response.status, response.reason, output)                                                     ^^^^^^^^^^^^^^^ AttributeError: Response object has no attribute status </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/issues-questions/2926.aspx</link><item><guid isPermaLink="false">threadId=2926</guid><author>Anusha Basavaraju (anusha.basavaraju@navicogroup.com)</author><title>Integrating SpiraTest with PyUnit</title><description> Hi, I am seeing the below error when trying to execute the pyunit script. Can you help ?    File /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/spiratestextension.py, line 72, in recordResults     spiraTestExecute.recordTestRun(testCaseId, releaseId, testSetId, startDate, endDate, executionStatus, runnerName, testMethodNameString, assertCount, message, stackTrace)   File /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/spiratestexecute.py, line 69, in recordTestRun     print (Failed to send results to SpiraTest: , response.status, response.reason, output)                                                     ^^^^^^^^^^^^^^^ AttributeError: Response object has no attribute status </description><pubDate>Wed, 29 May 2024 18:22:16 -0400</pubDate><a10:updated>2024-05-29T22:51:12-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2926.aspx</link></item><item><guid isPermaLink="false">messageId=6716</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> It looks like there is an issue in the reporting code when an error is logged.  I would change:  re</title><description> It looks like there is an issue in the reporting code when an error is logged.  I would change:  response.status  to  response.status_code  and it will then correctly display the error.  Also most customers are now using our  newer PyTest integration , I believe that PyUnit has been largely depreciated by the Python community. </description><pubDate>Wed, 29 May 2024 19:22:43 -0400</pubDate><a10:updated>2024-05-29T19:22:43-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2926.aspx#reply6716</link></item><item><guid isPermaLink="false">messageId=6717</guid><author>Anusha Basavaraju (anusha.basavaraju@navicogroup.com)</author><title> Thank you for the suggestion. I followed  PyTest integration   doc , pytests are runned successfull</title><description> Thank you for the suggestion. I followed  PyTest integration   doc , pytests are runned successfully but not seeing the Test Run on Spira Test.  I created a sample TestCase as default and added that test case ID in the config file, I still do not see any test runs on Spira Test. Am I missing something?     Thank you. </description><pubDate>Wed, 29 May 2024 21:18:12 -0400</pubDate><a10:updated>2024-05-29T21:18:12-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2926.aspx#reply6717</link></item><item><guid isPermaLink="false">messageId=6718</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Hi Anusha  Id  log a support ticket  to get more personalized and private support.  That way you ca</title><description> Hi Anusha  Id  log a support ticket  to get more personalized and private support.  That way you can submit a copy of your test code for our team to look at.  We are limited on what we can assist with in the public forums.  Regards David </description><pubDate>Wed, 29 May 2024 22:16:23 -0400</pubDate><a10:updated>2024-05-29T22:16:23-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2926.aspx#reply6718</link></item><item><guid isPermaLink="false">messageId=6719</guid><author>Anusha Basavaraju (anusha.basavaraju@navicogroup.com)</author><title> Sure, thank you </title><description> Sure, thank you </description><pubDate>Wed, 29 May 2024 22:51:12 -0400</pubDate><a10:updated>2024-05-29T22:51:12-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2926.aspx#reply6719</link></item></channel></rss>