Commit 128410f4 authored by Łukasz Nowak's avatar Łukasz Nowak

- compose tests' description from tests' string representation with...

 - compose tests' description from tests' string representation with inheritance tree and tests' docstring for full identification in test results


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29524 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 220516a4
...@@ -212,6 +212,10 @@ class ERP5TypeTestCase(PortalTestCase): ...@@ -212,6 +212,10 @@ class ERP5TypeTestCase(PortalTestCase):
This TestCase setups an ERP5Site and installs business templates. 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): def dummy_test(self):
ZopeTestCase._print('All tests are skipped when --save option is passed ' ZopeTestCase._print('All tests are skipped when --save option is passed '
'with --update_business_templates or without --load') 'with --update_business_templates or without --load')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment