- Timestamp:
- 2 May 2012, 11:54:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r8326 r8328 113 113 ticket = createObject(u'waeup.CourseTicket') 114 114 verify.verifyObject(ICustomCourseTicket, ticket) 115 # Let's see if may_register works as expected 116 # A, ug_ft, 100 117 self.assertTrue(self.student['studycourse'].may_register) 118 # O, ug_ft, 100 119 self.student['studycourse'].current_verdict = 'O' 120 self.assertTrue(self.student['studycourse'].may_register) 121 # O, ug_ft, 200 122 self.student['studycourse'].current_level = 200 123 self.assertFalse(self.student['studycourse'].may_register) 124 # O, de_ft, 200 125 self.student['studycourse'].certificate.study_mode = 'de_ft' 126 self.assertTrue(self.student['studycourse'].may_register) 127 # O, ph_ft, 300 128 self.student['studycourse'].certificate.study_mode = 'ph_ft' 129 self.student['studycourse'].current_level = 300 130 self.assertTrue(self.student['studycourse'].may_register) 131 # O, ph_ft, 400 132 self.student['studycourse'].current_level = 400 133 self.assertFalse(self.student['studycourse'].may_register) 115 134 116 135 def test_manage_access(self):
Note: See TracChangeset for help on using the changeset viewer.