- Timestamp:
- 23 Mar 2015, 11:06:26 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/sample_student_data.csv
r12810 r12811 5 5 ,Else,Mueller,4,1990-01-05,100003,aa@aa.ng,1234,f,school fee paid 6 6 ,,,,,,,,, 7 ,,,,,,,,, 7 ,,,, ,,, ,, 8 ,,,,<IGNORE>,,,<IGNORE>,, 8 9 X888888,Alfons,Meier,5,1990-01-02,100004,aa@aa.ng,1234,m,courses validated 9 10 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
r12810 r12811 414 414 # Nine students have been added. 415 415 self.assertEqual(len(self.app['students']), 10) 416 # T woempty rows have been skipped.417 self.assertEqual(num, 1 1)416 # Three empty rows have been skipped. 417 self.assertEqual(num, 12) 418 418 self.assertEqual(self.app['students']['X666666'].reg_number,'1') 419 419 self.assertEqual( -
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r12810 r12811 278 278 """ 279 279 for value in row.values(): 280 if value :280 if value.strip() and not value in (None, IGNORE_MARKER): 281 281 return False 282 282 return True
Note: See TracChangeset for help on using the changeset viewer.