#!/usr/bin/env python # -*- coding: utf-8 -*- MISC_HTML_SOURCE = """ test1
test2
test3
test4
test5
test6
  1. test9
  2. test10
test11
test12

google test link """ EDI_LIKE_HTML_SOURCE = """

Hello ${object.partner_id.name},

A new invoice is available for you:

  REFERENCES
  Invoice number: ${object.number}
  Invoice total: ${object.amount_total} ${object.currency_id.name}
  Invoice date: ${object.date_invoice}
  Order reference: ${object.origin}
  Your contact: ${object.user_id.name}


It is also possible to directly pay with Paypal:


If you have any question, do not hesitate to contact us.

Thank you for choosing ${object.company_id.name or 'us'}!



${object.company_id.name}

${object.company_id.street}
${object.company_id.street2}
${object.company_id.zip} ${object.company_id.city}
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}
Phone:  ${object.company_id.phone}
Web : ${object.company_id.website}
""" TEXT_1 = """I contact you about our meeting tomorrow. Here is the schedule I propose: 9 AM: brainstorming about our new amazing business app 9.45 AM: summary 10 AM: meeting with Ignasse to present our app Is everything ok for you ? -- MySignature""" TEXT_1_IN = ["""I contact you about our meeting tomorrow. Here is the schedule I propose: 9 AM: brainstorming about our new amazing business app 9.45 AM: summary 10 AM: meeting with Ignasse to present our app Is everything ok for you ?"""] TEXT_1_OUT = ["""-- MySignature"""] TEXT_2 = """Salut Raoul! Le 28 oct. 2012 à 00:02, Raoul Grosbedon a écrit : > I contact you about our meeting tomorrow. Here is the schedule I propose: (quote) Of course. This seems viable. > 2012/10/27 Bert Tartopoils : >> blahblahblah (quote)? >> >> blahblahblah (quote) >> >> Bert TARTOPOILS >> bert.tartopoils@miam.miam >> > > > -- > RaoulSignature Bert TARTOPOILS bert.tartopoils@miam.miam """ TEXT_2_IN = ["Salut Raoul!", "Of course. This seems viable."] TEXT_2_OUT = ["I contact you about our meeting tomorrow. Here is the schedule I propose: (quote)", """> 2012/10/27 Bert Tartopoils : >> blahblahblah (quote)? >> >> blahblahblah (quote) >> >> Bert TARTOPOILS >> bert.tartopoils@miam.miam >> > > > -- > RaoulSignature"""] HTML_1 = """

I contact you about our meeting for tomorrow. Here is the schedule I propose: (keep) 9 AM: brainstorming about our new amazing business app 9.45 AM: summary 10 AM: meeting with Ignasse to present our app Is everything ok for you ? -- MySignature

""" HTML_1_IN = ["""I contact you about our meeting for tomorrow. Here is the schedule I propose: (keep) 9 AM: brainstorming about our new amazing business app 9.45 AM: summary 10 AM: meeting with Ignasse to present our app Is everything ok for you ?"""] HTML_1_OUT = ["""-- MySignature"""] HTML_2 = """
I contact you about our meeting for tomorrow. Here is the schedule I propose:
Is everything ok for you ?
""" HTML_2_IN = ["I contact you about our meeting for tomorrow. Here is the schedule I propose:", "
  • 9 AM: brainstorming about our new amazing business app
  • ", "
  • 9.45 AM: summary
  • ", "
  • 10 AM: meeting with Fabien to present our app
  • ", "Is everything ok for you ?"] HTML_2_OUT = [] HTML_3 = """
    This is an answer.
    
    Regards,
    XXXXXX
    ----- Mail original -----
    Hi, 
    
    
    My CRM-related question.
    
    Regards, 
    
    XXXX
    """ HTML_3_IN = ["""
    This is an answer.
    
    Regards,
    XXXXXX
    ----- Mail original -----
    """] HTML_3_OUT = ["Hi,", "My CRM-related question.", "Regards,"] HTML_4 = """
    Hi Nicholas,

    I'm free now. 00447710085916.

    Regards,
    Nicholas

    From: OpenERP Enterprise <sales@openerp.com>
    Reply-To: <sales@openerp.com>
    Date: Wed, 17 Apr 2013 13:30:47 +0000
    To: Microsoft Office User <n.saxlund@babydino.com>
    Subject: Re: your OpenERP.com registration

    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
                            
    """ HTML_5 = """
    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,

    Ok for me. I am replying directly in gmail, without signature.

    Kind regards,

    Demo.

    On Thu, Nov 8, 2012 at 5:29 PM, <dummy@example.com> wrote:
    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 ?

    --
    Administrator


    """ GMAIL_1_IN = ['Ok for me. I am replying directly in gmail, without signature.'] GMAIL_1_OUT = ['Administrator', 'Log in our portal at:'] THUNDERBIRD_1 = """
    On 11/08/2012 05:29 PM, dummy@example.com wrote:
    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 ?

    --
    Administrator

    Log in our portal at: http://localhost:8069#action=login&db=mail_1&token=rHdWcUART5PhEnJRaXjH

    Ok for me. I am replying directly below your mail, using Thunderbird, with a signature.

    Did you receive my email about my new laptop, by the way ?

    Raoul.
    -- 
    Raoul Grosbedonnée
    
    """ THUNDERBIRD_1_IN = ['Ok for me. I am replying directly below your mail, using Thunderbird, with a signature.'] THUNDERBIRD_1_OUT = ['I contact you about our meeting for tomorrow.', 'Raoul Grosbedon'] HOTMAIL_1 = """

      I have an amazing company, i'm learning OpenERP, it is a small company yet, but plannig to grow up quickly.
     
    Kindest regards,
    xxx

    Subject: Re: your OpenERP.com registration
    From: xxx@xxx.xxx
    To: xxx@xxx.xxx
    Date: Wed, 27 Mar 2013 17:12:12 +0000

    Hello xxx,
    I noticed you recently created an OpenERP.com account to access OpenERP Apps.
    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
                
    """ HOTMAIL_1_IN = ["I have an amazing company, i'm learning OpenERP, it is a small company yet, but plannig to grow up quickly."] HOTMAIL_1_OUT = ["Subject: Re: your OpenERP.com registration", " I noticed you recently created an OpenERP.com account to access OpenERP Apps.", "We would like to know more about your your business needs and requirements", "Belgium: +32.81.81.37.00"] MSOFFICE_1 = """

    Our requirements are simple. Just looking to replace some spreadsheets for tracking quotes and possibly using the timecard module. We are a company of 25 engineers providing product design services to clients.

    I’ll install on a windows server and run a very limited trial to see how it works. If we adopt OpenERP we will probably move to Linux or look for a hosted SaaS option.


    I am also evaluating Adempiere and maybe others.

     

    I expect the trial will take 2-3 months as this is not a high priority for us.

     

    Alan

     

    From: OpenERP Enterprise [mailto:sales@openerp.com]
    Sent: Monday, 11 March, 2013 14:47
    To: Alan Widmer
    Subject: Re: your OpenERP.com registration

     

    Hello Alan Widmer,

    I noticed you recently downloaded OpenERP.

    Uou mentioned you wish to use OpenERP in your own company. Please let me more about your business needs and requirements? When will you be available to discuss about your project?

    Thanks for your interest in OpenERP,

    Feel free to contact me if you have any questions,

    Looking forward to hear from you soon.

     

    --

    Nicolas

    http://openerp.com

    Belgium: +32.81.81.37.00

    U.S.: +1 (650) 307-6736

    India: +91 (79) 40 500 100

                           

    """ MSOFFICE_1_IN = ['Our requirements are simple. Just looking to replace some spreadsheets for tracking quotes and possibly using the timecard module.'] MSOFFICE_1_OUT = ['I noticed you recently downloaded OpenERP.', 'Uou mentioned you wish to use OpenERP in your own company.', 'Belgium: +32.81.81.37.00'] MSOFFICE_2 = """

    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

                            

    """ MSOFFICE_2_IN = ['We are currently investigating the possibility'] MSOFFICE_2_OUT = ['I noticed you recently downloaded OpenERP.', 'You indicated that you wish', 'Belgium: +32.81.81.37.00'] MSOFFICE_3 = """

    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

                            

    """ MSOFFICE_3_IN = ['I saw your boss yesterday'] MSOFFICE_3_OUT = ['I noticed you recently downloaded OpenERP.', 'You indicated that you wish', 'Belgium: +32.81.81.37.00'] # ------------------------------------------------------------ # Test cases coming from bugs # ------------------------------------------------------------ # bug: read more not apparent, strange message in read more span BUG1 = """
    Hi Migration Team,
    
    Paragraph 1, blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah.
    
    Paragraph 2, blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah.
    
    Paragraph 3, blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah.
    
    Thanks.
    
    Regards,
    
    -- 
    Olivier Laurent
    Migration Manager
    OpenERP SA
    Chaussée de Namur, 40
    B-1367 Gérompont
    Tel: +32.81.81.37.00
    Web: http://www.openerp.com
    """ BUG_1_IN = [ 'Hi Migration Team', 'Paragraph 1' ] BUG_1_OUT = [ 'Olivier Laurent', 'Chaussée de Namur', '81.81.37.00', 'openerp.com', ]