Changeset 13374 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 1 Nov 2015, 14:11:52 (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
r13359 r13374 124 124 self.assertMatches('...Amount could not be determined...', 125 125 self.browser.contents) 126 self.app['configuration']['2004'].school_fee_1 = 6666.0127 126 #self.browser.getControl(name="form.p_category").value = ['schoolfee'] 128 127 # Accepotance fee must be paid first … … 136 135 cpt_value = ctrl.options[0] 137 136 # School fee payment ticket can be added ... 137 self.student['studycourse'].certificate.school_fee_1 = 6666.0 138 self.student.nationality = u'NG' 138 139 self.browser.open(self.payments_path + '/addop') 139 140 self.browser.getControl(name="form.p_category").value = ['schoolfee'] … … 235 236 236 237 def test_manage_payments_bypass_ac_creation(self): 237 self.app['configuration']['2004'].school_fee_1 = 6666.0 238 self.student['studycourse'].certificate.school_fee_1 = 6666.0 239 self.student.nationality = u'NG' 238 240 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 239 241 self.browser.open(self.payments_path) -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r13359 r13374 52 52 self.app['configuration']['2004'].clearance_fee = 1234.0 53 53 self.app['configuration']['2004'].clearance_fee_fp = 3456.0 54 self.app['configuration']['2004'].school_fee_1 = 6666.0 54 self.student['studycourse'].certificate.school_fee_1 = 6666.0 55 self.student['studycourse'].certificate.school_fee_2 = 7777.0 56 self.student.nationality = u'NG' 55 57 utils = getUtility(IStudentsUtils) 56 58 … … 58 60 configuration.academic_session = 2005 59 61 self.app['configuration'].addSessionConfiguration(configuration) 60 self.app['configuration']['2005'].school_fee_2 = 7777.061 62 62 63 error, payment = utils.setPaymentDetails('schoolfee',self.student)
Note: See TracChangeset for help on using the changeset viewer.