Changeset 8488 for main/waeup.kofa/trunk/src
- Timestamp:
- 21 May 2012, 15:57:32 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/sample_student_data_duplicates.csv
r8289 r8488 4 4 C123456,Aaren,Berson,2,1990-01-04,100000,aa@aa.ng,1234,mypw1,m,admitted 5 5 F123456,Frank,Meyer,1,1990-01-06,100000,aa@aa.ng,1234,,m, 6 A123456,Uli,Schulz,3,1990-01-07,100002,aa@aa.ng,1234,,m, -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py
r8411 r8488 458 458 self.csv_file_duplicates, STUDENT_HEADER_FIELDS_DUPLICATES) 459 459 content = open(fail_file).read() 460 self.assertEqual(num_warns, 3)460 self.assertEqual(num_warns,4) 461 461 self.assertEqual( 462 462 content, … … 465 465 '2,Aaren,C123456,m,aa@aa.ng,1234,admitted,1990-01-04,Berson,mypw1,100000,matric_number: matric_number\r\n' 466 466 '1,Frank,F123456,m,aa@aa.ng,1234,,1990-01-06,Meyer,,100000,reg_number: reg_number; matric_number: matric_number\r\n' 467 '3,Uli,A123456,m,aa@aa.ng,1234,,1990-01-07,Schulz,,100002,This object already exists. Skipping.\r\n' 467 468 ) 468 469 shutil.rmtree(os.path.dirname(fin_file))
Note: See TracChangeset for help on using the changeset viewer.