Changeset 7665 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 17 Feb 2012, 12:06:10 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/sample_courseticket_data.csv
r7548 r7665 1 reg_number,matric_number,level,code,score, core_or_elective1 reg_number,matric_number,level,code,score,mandatory 2 2 1,,100,COURSE1,1,True 3 3 2,,100,COURSE1,2,False -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_batching.py
r7649 r7665 523 523 self.assertEqual(courseticket.__parent__.__parent__.certificate.code, u'CERT1') 524 524 self.assertEqual(courseticket.score, 1) 525 self.assertEqual(courseticket. core_or_elective, True)525 self.assertEqual(courseticket.mandatory, True) 526 526 self.assertEqual(courseticket.fcode, 'NA') 527 527 self.assertEqual(courseticket.dcode, 'NA') -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7664 r7665 1206 1206 self.assertRaises( 1207 1207 LookupError, self.browser.getControl, name='val_id') 1208 self.student['studycourse']['200']['COURSE1']. core_or_elective= False1208 self.student['studycourse']['200']['COURSE1'].mandatory = False 1209 1209 self.browser.open(self.student_path + '/studycourse/200/edit') 1210 1210 # Now the student can remove the ticket
Note: See TracChangeset for help on using the changeset viewer.