Changeset 12986 for main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests
- Timestamp:
- 22 May 2015, 10:12:45 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_batching.py
r12812 r12986 289 289 content, 290 290 'reg_number,password,firstname,lastname,sex,phone,state,date_of_birth,customer_id,email,--ERRORS--\r\n' 291 '1, ,Frank,Meyer,m,1234,,1990-01-06,F123456,cc@aa.ng,reg_number: Invalid input\r\n'292 '3, ,Uli,Schulz,m,1234,,1990-01-07,A123456,dd@aa.ng,This object already exists. Skipping.\r\n'293 '4, ,Berta,Pieri,m,1234,,1991-01-07,A234567,aa@aa.ng,email: Invalid input\r\n'291 '1,<IGNORE>,Frank,Meyer,m,1234,<IGNORE>,1990-01-06,F123456,cc@aa.ng,reg_number: Invalid input\r\n' 292 '3,<IGNORE>,Uli,Schulz,m,1234,<IGNORE>,1990-01-07,A123456,dd@aa.ng,This object already exists. Skipping.\r\n' 293 '4,<IGNORE>,Berta,Pieri,m,1234,<IGNORE>,1991-01-07,A234567,aa@aa.ng,email: Invalid input\r\n' 294 294 ) 295 295 shutil.rmtree(os.path.dirname(fin_file)) … … 504 504 self.assertEqual(fail_file, 505 505 'reg_number,valid_from,contract_id,title,class_name,valid_to,product_object,tc_dict,document_object,product_options,--ERRORS--\r\n' 506 '2, ,c5,,SampleContract,,SAM,,DOC1,[],This object already exists. Skipping.\r\n'507 '3, ,c6,,SampleContract,,SAM,,NONEXISTENT,[],document_object: Invalid value\r\n'508 '3, ,c7,,SampleContract,,NONEXISTENT,,DOC1,[],product_object: Invalid value\r\n'506 '2,<IGNORE>,c5,<IGNORE>,SampleContract,<IGNORE>,SAM,<IGNORE>,DOC1,<IGNORE>,This object already exists. Skipping.\r\n' 507 '3,<IGNORE>,c6,<IGNORE>,SampleContract,<IGNORE>,SAM,<IGNORE>,NONEXISTENT,<IGNORE>,document_object: Invalid value\r\n' 508 '3,<IGNORE>,c7,<IGNORE>,SampleContract,<IGNORE>,NONEXISTENT,<IGNORE>,DOC1,<IGNORE>,product_object: Invalid value\r\n' 509 509 ) 510 510 contract = self.processor.getEntry(dict(reg_number='1', … … 529 529 self.assertTrue( 530 530 'INFO - system - Customer Sample Contract Processor - sample_contract_data - ' 531 'X666666 - %s - updated: valid_from=, title=, valid_to=, product_object=SAM, tc_dict=, document_object=DOC1,'532 'product_options=[]'% conid531 'X666666 - %s - updated: product_object=SAM, document_object=DOC1' 532 % conid 533 533 in logcontent) 534 534
Note: See TracChangeset for help on using the changeset viewer.