Commit 75a66771 authored by Jérome Perrin's avatar Jérome Perrin

log the content of email when attachment is not found

parent eb48e7f1
...@@ -107,7 +107,7 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -107,7 +107,7 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
self.fail(''.join(error_list)) self.fail(''.join(error_list))
break break
else: else:
self.fail('Attachment not found in email') self.fail('Attachment not found in email\n%s' % message_text)
def test_normal_form(self): def test_normal_form(self):
self.loginAsUser('bob') self.loginAsUser('bob')
...@@ -141,7 +141,7 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -141,7 +141,7 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
self.fail(''.join(error_list)) self.fail(''.join(error_list))
break break
else: else:
self.fail('Attachment not found in email') self.fail('Attachment not found in email\n%s' % message_text)
class TestODSDeferredStyle(TestDeferredStyle): class TestODSDeferredStyle(TestDeferredStyle):
......
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