Changeset 13755 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 1 Mar 2016, 11:31:01 (9 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r13753 r13755 444 444 445 445 def test_set_matric_number(self): 446 payment = createObject('waeup.StudentOnlinePayment')447 payment.p_category = u'concessional'448 payment.p_id = u'anyid'449 payment.p_state = u'paid'450 self.student['payments']['anykey'] = payment446 #payment = createObject('waeup.StudentOnlinePayment') 447 #payment.p_category = u'concessional' 448 #payment.p_id = u'anyid' 449 #payment.p_state = u'paid' 450 #self.student['payments']['anykey'] = payment 451 451 # Login as student 452 452 self.browser.open(self.login_path) -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r13749 r13755 130 130 site['configuration'].next_matric_integer_3 = 1 131 131 self.student.matric_number = None 132 msg, mnumber = utils.setMatricNumber(self.student)133 self.assertEqual(msg, 'Matriculation number cannot be set.')134 payment = createObject('waeup.StudentOnlinePayment')135 payment.p_category = u'concessional'136 payment.p_id = u'anyid'137 payment.p_state = u'paid'138 self.student['payments']['anykey'] = payment132 #msg, mnumber = utils.setMatricNumber(self.student) 133 #self.assertEqual(msg, 'Matriculation number cannot be set.') 134 #payment = createObject('waeup.StudentOnlinePayment') 135 #payment.p_category = u'concessional' 136 #payment.p_id = u'anyid' 137 #payment.p_state = u'paid' 138 #self.student['payments']['anykey'] = payment 139 139 # Regular ft students have a matric number without leading constant. 140 140 msg, mnumber = utils.setMatricNumber(self.student)
Note: See TracChangeset for help on using the changeset viewer.