diff --git a/odoo/modules/module.py b/odoo/modules/module.py index 9160717bfb9..8036bff7dd9 100644 --- a/odoo/modules/module.py +++ b/odoo/modules/module.py @@ -475,13 +475,8 @@ class TestStream(object): def write(self, s): if self.r.match(s): return - first = True level = logging.ERROR if s.startswith(('ERROR', 'FAIL', 'Traceback')) else logging.INFO - for c in s.splitlines(): - if not first: - c = '` ' + c - first = False - self.logger.log(level, c) + self.logger.log(level, s) current_test = None diff --git a/odoo/tests/common.py b/odoo/tests/common.py index d84673d76fb..90655bd24b6 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -351,8 +351,7 @@ class BaseCase(TreeCase, MetaCase('DummyCase', (object,), {})): self.fail(msg + _format_message(records, expected_values)) def shortDescription(self): - doc = self._testMethodDoc - return doc and ' '.join(l.strip() for l in doc.splitlines() if not l.isspace()) or None + return None # turns out this thing may not be quite as useful as we thought... def assertItemsEqual(self, a, b, msg=None):