Changeset 9943
- Timestamp:
- 13 Feb 2013, 10:17:01 (12 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/tests/test_browser.py
r9497 r9943 74 74 self.certificate.start_level = 100 75 75 self.certificate.end_level = 500 76 self.certificate.study_mode = u' ug_ft'76 self.certificate.study_mode = u'nce_ft' 77 77 self.app['faculties']['fac1'] = Faculty() 78 78 self.app['faculties']['fac1']['dep1'] = Department() -
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
r9784 r9943 101 101 if self.context.p_category == 'schoolfee': 102 102 self.pay_item_id = '8302' 103 if student.current_mode in (' ug_sw','prence',):103 if student.current_mode in ('nce_sw','prence',): 104 104 xmldict['institution_acct'] = "6216801025" 105 105 xmldict['institution_bank_id'] = '117' 106 elif student.current_mode in (' ug_ft',) and \106 elif student.current_mode in ('nce_ft',) and \ 107 107 student['studycourse'].current_verdict == 'O': 108 108 xmldict['institution_acct'] = "6216801025" 109 109 xmldict['institution_bank_id'] = '117' 110 elif student.current_mode in (' ug_ft',):110 elif student.current_mode in ('nce_ft',): 111 111 xmldict['institution_acct'] = "6216801033" 112 112 xmldict['institution_bank_id'] = '117' -
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
r9903 r9943 49 49 def setUp(self): 50 50 super(InterswitchTestsStudents, self).setUp() 51 self.certificate.study_mode = 'nce_ft' 51 52 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 52 53 self.browser.open(self.payments_path) -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r9923 r9943 273 273 self.assertEqual(error, None) 274 274 275 self.certificate.study_mode = u' ug_sw'275 self.certificate.study_mode = u'nce_sw' 276 276 error, payment = utils.setPaymentDetails('hostel_maintenance',self.student) 277 277 self.assertEqual(payment.p_level, 100)
Note: See TracChangeset for help on using the changeset viewer.