Changeset 7953 for main/waeup.kofa/trunk/src
- Timestamp:
- 22 Mar 2012, 07:59:14 (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_studycourse_data.csv
r7531 r7953 4 4 ,100002,CERT1,2008,200 5 5 1,,CERT1,2008,100 6 4,,CERT1,2008,200 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py
r7952 r7953 388 388 self.assertEqual(studycourse.current_verdict, 'A') 389 389 self.assertEqual(student.state, 'returning') 390 pending_file = fail_file 391 content = open(fail_file).read() 392 self.assertEqual( 393 content, 394 'current_session,current_verdict,matric_number,current_level,--ERRORS--\r\n' 395 '2008,B,100001,100,Current level does not correspond.\r\n' 396 '2007,C,100002,200,Current session does not correspond.\r\n' 397 '2008,A,100003,200,Student in wrong state.\r\n' 398 ) 390 399 shutil.rmtree(os.path.dirname(fin_file)) 391 400
Note: See TracChangeset for help on using the changeset viewer.