Changeset 13749 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 29 Feb 2016, 07:23:48 (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
r13720 r13749 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'] = payment 446 451 # Login as student 447 452 self.browser.open(self.login_path) -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r13664 r13749 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'] = payment 132 139 # Regular ft students have a matric number without leading constant. 133 140 msg, mnumber = utils.setMatricNumber(self.student)
Note: See TracChangeset for help on using the changeset viewer.