Ignore:
Timestamp:
20 Mar 2015, 18:51:29 (10 years ago)
Author:
Henrik Bettermann
Message:

Prepare products and contracts for annual payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_browser.py

    r12798 r12803  
    224224        result = open(self.outfile, 'rb').read()
    225225        self.assertMatches(result,
    226             'categories_practice,class_name,comment,contract_category,contract_id,'
    227             'fee_based,history,last_product_id,lga,nationality,product_object,'
    228             'product_options,state,superintendent,'
    229             'tc_dict,title,user_id,valid_from,valid_to,work_address,work_email,work_phone,'
    230             'year_qualification\r\n'
    231             '[],RONContract,,ron,%s,0,'
    232             '[u\'2015-01-18 16:40:01 WAT - License created by system\'],,,,,'
    233             '[],created,,{\'en\': u\'Hello World\'},,K1000000,,,,,,\r\n'
     226            'categories_practice,class_name,comment,contract_category,'
     227            'contract_id,contract_year,fee_based,history,last_product_id,'
     228            'lga,nationality,product_object,product_options,'
     229            'qualification_year,state,superintendent,tc_dict,'
     230            'title,user_id,valid_from,valid_to,work_address,'
     231            'work_email,work_phone\r\n'
     232            '[],RONContract,,ron,%s,,0,'
     233            '[u\'2015-03-20 19:13:53 WAT - License created by system\']'
     234            ',,,,,[],,created,,{\'en\': u\'Hello World\'},,K1000000,,,,,\r\n'
    234235            % self.contract1.contract_id)
    235236        # We can reimport the file if we change the header
     
    283284        result = open(self.outfile, 'rb').read()
    284285        self.assertMatches(result,
    285             'categories_practice,class_name,contract_category,contract_id,'
    286             'date_of_qualification,fee_based,history,inspected,last_license_number,'
     286            'categories_practice,class_name,contract_category,'
     287            'contract_id,contract_year,date_of_qualification,'
     288            'fee_based,history,inspected,last_license_number,'
    287289            'last_product_id,official_in_state,other_directors,'
    288290            'pharmacists_directors,premises_address,premises_certificate,'
    289             'product_object,product_options,recommended,'
    290             'state,superintendent,tc_dict,title,user_id,valid_from,valid_to,'
    291             'work_address\r\n'
    292 
    293             '[],ROPContract,rop,%s,,0,'
    294             '[u\'2015-01-20 18:51:03 WAT - License created by system\']'
     291            'product_object,product_options,recommended,state,'
     292            'superintendent,tc_dict,title,user_id,valid_from,'
     293            'valid_to,work_address\r\n'
     294
     295            '[],ROPContract,rop,%s,,,0,'
     296            '[u\'2015-03-20 19:18:30 WAT - License created by system\']'
    295297            ',,,,,,,,,,[],,created,,{\'en\': u\'Hello World\'},,K1000000,,,\r\n'
    296298            % self.contract2.contract_id)
Note: See TracChangeset for help on using the changeset viewer.