[Erp5-report] r24131 - /erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 10 11:26:47 CEST 2008


Author: jerome
Date: Fri Oct 10 11:26:46 2008
New Revision: 24131

URL: http://svn.erp5.org?rev=24131&view=rev
Log:
return failures as int, not int, because sys.exit('0') will exit with return code 1
Thanks fabien !!

Modified:
    erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py

Modified: erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py?rev=24131&r1=24130&r2=24131&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py (original)
+++ erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py Fri Oct 10 11:26:46 2008
@@ -264,7 +264,7 @@
     print summary
     print '-' * 79
     print file_content
-  return failures
+  return int(failures)
 
 if __name__ == "__main__":
   parseArgs()




More information about the Erp5-report mailing list