Changeset 12810 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 23 Mar 2015, 10:40:18 (10 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.csv
r9932 r12810 4 4 ,Susann,Berson,3,1990-01-04,100002,aa@aa.ng,1234,F,courses validated 5 5 ,Else,Mueller,4,1990-01-05,100003,aa@aa.ng,1234,f,school fee paid 6 ,,,,,,,,, 7 ,,,,,,,,, 6 8 X888888,Alfons,Meier,5,1990-01-02,100004,aa@aa.ng,1234,m,courses validated 7 9 X999999,Herbert,Mueller,6,1990-01-02,100005,aa@aa.ng,1234,m,courses registered -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py
r12623 r12810 411 411 num, num_warns, fin_file, fail_file = self.processor.doImport( 412 412 self.csv_file, STUDENT_HEADER_FIELDS) 413 self.assertEqual(num_warns,0) 413 self.assertEqual(num_warns, 0) 414 # Nine students have been added. 414 415 self.assertEqual(len(self.app['students']), 10) 416 # Two empty rows have been skipped. 417 self.assertEqual(num, 11) 415 418 self.assertEqual(self.app['students']['X666666'].reg_number,'1') 416 419 self.assertEqual(
Note: See TracChangeset for help on using the changeset viewer.