Changeset 11920 for main/waeup.fceokene/trunk/src/waeup/fceokene/students
- Timestamp:
- 31 Oct 2014, 06:45:52 (10 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r11919 r11920 133 133 self.assertMatches('...could not be determined...', 134 134 self.browser.contents) 135 self.certificate.study_mode = 'nce_ ft'135 self.certificate.study_mode = 'nce_sw' 136 136 self.browser.open(self.payments_path + '/addop') 137 137 self.browser.getControl(name="form.p_category").value = ['third_semester'] … … 284 284 self.assertEqual(error, None) 285 285 286 self.certificate.study_mode = 'nce_sw' 286 287 error, payment = utils.setPaymentDetails('third_semester',self.student) 287 288 self.assertEqual(payment.p_level, 100) -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r11919 r11920 147 147 except (AttributeError, TypeError): 148 148 return _('Study course data are incomplete.'), None 149 elif category == 'third_semester' and student.current_mode == 'nce_ ft':149 elif category == 'third_semester' and student.current_mode == 'nce_sw': 150 150 if student.depcode in ARTS: 151 151 amount = 5835
Note: See TracChangeset for help on using the changeset viewer.