[Erp5-report] r29524 - /erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Oct 9 15:20:12 CEST 2009
Author: luke
Date: Fri Oct 9 15:20:07 2009
New Revision: 29524
URL: http://svn.erp5.org?rev=29524&view=rev
Log:
- compose tests' description from tests' string representation with inheritance tree and tests' docstring for full identification in test results
Modified:
erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
Modified: erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py?rev=29524&r1=29523&r2=29524&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py [utf8] Fri Oct 9 15:20:07 2009
@@ -211,6 +211,10 @@
This TestCase setups an ERP5Site and installs business templates.
"""
+
+ def shortDescription(self):
+ doc = self._TestCase__testMethodDoc
+ return doc and str(self) + ', ' + doc.split("\n")[0].strip() or None
def dummy_test(self):
ZopeTestCase._print('All tests are skipped when --save option is passed '
More information about the Erp5-report
mailing list