From 0207de16e883b6a51ba68856a25559389a720cdf Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Tue, 8 Jan 2008 09:15:51 +0000 Subject: [PATCH] Fixed docstring. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18625 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testCRM.py | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/product/ERP5/tests/testCRM.py b/product/ERP5/tests/testCRM.py index 2863317636..fa2fff459a 100644 --- a/product/ERP5/tests/testCRM.py +++ b/product/ERP5/tests/testCRM.py @@ -233,7 +233,9 @@ class TestCRMMailSend(ERP5TypeTestCase): self.tic() def test_MailAttachmentPdf(self): - """Make sure that pdf document is correctly attached in email""" + """ + Make sure that pdf document is correctly attached in email + """ # Add a document which will be attached. def add_document(filename, id, container, portal_type): @@ -288,7 +290,9 @@ class TestCRMMailSend(ERP5TypeTestCase): self.assertEqual(part.get_payload(decode=True), str(document_pdf.getData())) def test_MailAttachmentText(self): - """Make sure that text document is correctly attached in email""" + """ + Make sure that text document is correctly attached in email + """ # Add a document which will be attached. def add_document(filename, id, container, portal_type): @@ -343,7 +347,9 @@ class TestCRMMailSend(ERP5TypeTestCase): self.assert_(len(part.get_payload(decode=True))>0) def test_MailAttachmentFile(self): - """Make sure that file document is correctly attached in email""" + """ + Make sure that file document is correctly attached in email + """ # Add a document which will be attached. def add_document(filename, id, container, portal_type): @@ -398,7 +404,9 @@ class TestCRMMailSend(ERP5TypeTestCase): self.assert_(len(part.get_payload(decode=True))>0) def test_MailAttachmentImage(self): - """Make sure that image document is correctly attached in email""" + """ + Make sure that image document is correctly attached in email + """ # Add a document which will be attached. def add_document(filename, id, container, portal_type): @@ -453,7 +461,9 @@ class TestCRMMailSend(ERP5TypeTestCase): self.assertEqual(part.get_payload(decode=True), str(document_gif.getData())) def test_MailAttachmentWebPage(self): - """Make sure that webpage document is correctly attached in email""" + """ + Make sure that webpage document is correctly attached in email + """ # Add a document which will be attached. document_html = self.portal.web_page_module.newContent(id='5', -- 2.30.9