diff --git a/openerp/tests/test_mail.py b/openerp/tests/test_mail.py index 3512014b1e7..f3d327b0281 100755 --- a/openerp/tests/test_mail.py +++ b/openerp/tests/test_mail.py @@ -113,24 +113,35 @@ class TestSanitizer(unittest2.TestCase): class TestCleaner(unittest2.TestCase): """ Test the email cleaner function that filters the content of incoming emails """ - def test_00_html_email_clean_signature(self): + def test_00_basic_text(self): """ html_email_clean test for signatures """ - test_data = [("""This is Sparta!\n--\nAdministrator\n+9988776655""", - ['This is Sparta!'], - ['Administrator', '9988776655']), - ("""
--\nAdministrator
""", - [], - ['--', 'Administrator']), - ("""This is Sparta!\n---\nAdministrator
""", - ['This is Sparta!'], - ['---', 'Administrator']), - ("""--
Administrator
This is Sparta!
--
Administrator
--\nAdministrator
""", + [], + ['--', 'Administrator'] + ), ( + """This is Sparta!\n---\nAdministrator
""", + ['This is Sparta!'], + ['---', 'Administrator'] + ), ( + """--
Administrator
This is Sparta!
--
Administrator
Hello Nicholas Saxlund,
+I noticed you recently registered to our OpenERP Online solution.
+You indicated that you wish to use OpenERP in your own company. We would like to know more about your your business needs and requirements, and see how we can help you. When would you be available to discuss your project ? +
+Best regards,
+http://openerp.com +Belgium: +32.81.81.37.00 +U.S.: +1 (650) 307-6736 +India: +91 (79) 40 500 100 ++
Hi, + +I have downloaded OpenERP installer 7.0 and successfully installed the postgresql server and the OpenERP. +I created a database and started to install module by log in as administrator. +However, I was not able to install any module due to "OpenERP Server Error" as shown in the attachement. +Could you please let me know how could I fix this problem? + + Regards, +Goh Sin Yih + + +________________________________ + From: OpenERP Enterprise <sales@openerp.com> +To: sinyih_goh@yahoo.com +Sent: Friday, February 8, 2013 12:46 AM +Subject: Feedback From Your OpenERP Trial + + +Hello Goh Sin Yih, +Thank you for having tested OpenERP Online. +I noticed you started a trial of OpenERP Online (gsy) but you did not decide to keep using it. +So, I just wanted to get in touch with you to get your feedback. Can you tell me what kind of application you were you looking for and why you didn't decide to continue with OpenERP? +Thanks in advance for providing your feedback, +Do not hesitate to contact me if you have any questions, +Thanks, +""" + GMAIL_1 = """Hello,
I contact you about our meeting for tomorrow. Here is the schedule I propose:
- 9 AM: brainstorming about our new amazing business app</span></li>
- 9.45 AM: summary
- 10 AM: meeting with Fabien to present our app
Is everything ok for you ?@@ -351,4 +407,233 @@ MSOFFICE_1 = """--
Administrator
+ Nicolas,
+ ++ We are currently investigating the possibility of moving away from our current ERP
+ ++ +
+ + +
+ Thank You
+ ++ Matt
+ ++ +
+ + +
+ Raoul Petitpoil
+ ++ Poil Industries
+ ++ Information Technology
+ ++ 920 Super Street
+ ++ Sanchez, Pa 17046 USA
+ ++ Tel: xxx.xxx
+ ++ Fax: xxx.xxx
+ ++ Email: + + raoul@petitpoil.com + + +
+ + ++ www.poilindustries.com
+ ++ www.superproducts.com
+ ++ +
+ + +
+
+ From:
+
+ OpenERP Enterprise [mailto:sales@openerp.com]
Sent: Wednesday, April 17, 2013 1:31 PM
To: Matt Witters
Subject: Re: your OpenERP.com registration
+
Hello Raoul Petitpoil,
+ +I noticed you recently downloaded OpenERP.
+ +You indicated that you wish to use OpenERP in your own company. We would like to know more about your your business needs and requirements, and see how we can help you. When would you be available to discuss your project ?
+ +Best regards,
+ +++
--+
Nicolas+
http://openerp.com + ++
Belgium: +32.81.81.37.00+
U.S.: +1 (650) 307-6736+
India: +91 (79) 40 500 100+
+
+ Hi Nicolas !
+ ++ +
+ + +
+ Yes I’d be glad to hear about your offers as we struggle every year with the planning/approving of LOA.
+ ++ I saw your boss yesterday on tv and immediately wanted to test the interface.
+ ++ +
+ + +
+ + Bien à vous,
+ + ++ + Met vriendelijke groeten,
+ + ++ + Best regards,
+ + ++ + +
+ + + +
+
+ R. Petitpoil
+
+ Human Resource Manager
Field Resource s.a n.v.
Hermesstraat 6A
1930 Zaventem
+
+
+ (
+
+
+
+
+
+ xxx.xxx
+
+
+
+
+
+ 7
+
+
+
+
+
+ +32 2 727.05.91
+
+ P
+
+
+ Please consider the environment before printing this email.
+
+
+
+
+ +
+ + +
+
+ De :
+
+ OpenERP Enterprise [mailto:sales@openerp.com]
Envoyé : jeudi 18 avril 2013 11:31
À : Paul Richard
Objet : Re: your OpenERP.com registration
+
Hello Raoul PETITPOIL,
+ +I noticed you recently registered to our OpenERP Online solution.
+ +You indicated that you wish to use OpenERP in your own company. We would like to know more about your your business needs and requirements, and see how we can help you. When would you be available to discuss your project ?
+ +Best regards,
+ +++
--+
Nicolas+
http://openerp.com + ++
Belgium: +32.81.81.37.00+
U.S.: +1 (650) 307-6736+
India: +91 (79) 40 500 100+
+