Changeset 14553 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 15 Feb 2017, 07:37:13 (8 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_update3.csv
r9284 r14553 1 student_id,reg_number,transition 2 X666666,,request_clearance 3 Y777777,,return 4 ,3,return 5 ,4,register_courses 1 student_id,reg_number,transition,firstname 2 X666666,,request_clearance, 3 Y777777,,return, 4 ,3,return, 5 ,4,register_courses, 6 X666666,,,XXX -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py
r14366 r14553 481 481 self.assertEqual( 482 482 content, 483 'reg_number,student_id,transition,--ERRORS--\r\n' 484 '<IGNORE>,X666666,request_clearance,Transition not allowed.\r\n' 483 'reg_number,student_id,transition,firstname,--ERRORS--\r\n' 484 '<IGNORE>,X666666,request_clearance,<IGNORE>,Transition not allowed.\r\n' 485 '<IGNORE>,X666666,<IGNORE>,XXX,RequiredMissing: firstname\r\n' 485 486 ) 486 self.assertEqual(num_warns, 1)487 self.assertEqual(num_warns,2) 487 488 self.assertEqual(self.app['students']['Y777777'].state,'returning') 488 489
Note: See TracChangeset for help on using the changeset viewer.