Changeset 9943 for main


Ignore:
Timestamp:
13 Feb 2013, 10:17:01 (12 years ago)
Author:
Henrik Bettermann
Message:

Rename study mode.

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  
    7474        self.certificate.start_level = 100
    7575        self.certificate.end_level = 500
    76         self.certificate.study_mode = u'ug_ft'
     76        self.certificate.study_mode = u'nce_ft'
    7777        self.app['faculties']['fac1'] = Faculty()
    7878        self.app['faculties']['fac1']['dep1'] = Department()
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py

    r9784 r9943  
    101101        if self.context.p_category == 'schoolfee':
    102102            self.pay_item_id = '8302'
    103             if student.current_mode in ('ug_sw','prence',):
     103            if student.current_mode in ('nce_sw','prence',):
    104104                xmldict['institution_acct'] = "6216801025"
    105105                xmldict['institution_bank_id'] = '117'
    106             elif student.current_mode in ('ug_ft',) and \
     106            elif student.current_mode in ('nce_ft',) and \
    107107                student['studycourse'].current_verdict == 'O':
    108108                xmldict['institution_acct'] = "6216801025"
    109109                xmldict['institution_bank_id'] = '117'
    110             elif student.current_mode in ('ug_ft',):
     110            elif student.current_mode in ('nce_ft',):
    111111                xmldict['institution_acct'] = "6216801033"
    112112                xmldict['institution_bank_id'] = '117'
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py

    r9903 r9943  
    4949    def setUp(self):
    5050        super(InterswitchTestsStudents, self).setUp()
     51        self.certificate.study_mode = 'nce_ft'
    5152        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    5253        self.browser.open(self.payments_path)
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py

    r9923 r9943  
    273273        self.assertEqual(error, None)
    274274
    275         self.certificate.study_mode = u'ug_sw'
     275        self.certificate.study_mode = u'nce_sw'
    276276        error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
    277277        self.assertEqual(payment.p_level, 100)
Note: See TracChangeset for help on using the changeset viewer.