- Timestamp:
- 20 Mar 2015, 18:51:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_browser.py
r12798 r12803 224 224 result = open(self.outfile, 'rb').read() 225 225 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' 234 235 % self.contract1.contract_id) 235 236 # We can reimport the file if we change the header … … 283 284 result = open(self.outfile, 'rb').read() 284 285 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,' 287 289 'last_product_id,official_in_state,other_directors,' 288 290 'pharmacists_directors,premises_address,premises_certificate,' 289 'product_object,product_options,recommended, '290 's tate,superintendent,tc_dict,title,user_id,valid_from,valid_to,'291 ' work_address\r\n'292 293 '[],ROPContract,rop,%s,, 0,'294 '[u\'2015-0 1-20 18:51:03WAT - 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\']' 295 297 ',,,,,,,,,,[],,created,,{\'en\': u\'Hello World\'},,K1000000,,,\r\n' 296 298 % self.contract2.contract_id)
Note: See TracChangeset for help on using the changeset viewer.