Ignore:
Timestamp:
19 Jan 2017, 06:45:07 (8 years ago)
Author:
Henrik Bettermann
Message:

Change JUPEB bank account.

Fix tests.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py

    r14358 r14421  
    9595            elif student.faccode == 'JUPEB':
    9696                self.pay_item_id = '5718'
     97                xmldict['institution_acct'] =  '0025186411'
     98                xmldict['institution_bank_id'] = '129'
    9799        elif self.context.p_category == 'clearance':
    98100            self.pay_item_id = '5702'
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py

    r14237 r14421  
    926926        self.assertEqual(td[0][1]['level'].level_session, 2006)
    927927        self.assertEqual(td[0][1]['tickets_1'][0].code, 'ANYCODE')
    928         self.assertEqual(td[1], 3.57)
     928        self.assertEqual(td[1], 3.5652173913043477)
    929929        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    930930        self.browser.open(self.student_path + '/studycourse/transcript')
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py

    r14275 r14421  
    44from waeup.kofa.interfaces import ICSVExporter
    55from waeup.kofa.schoolgrades import ResultEntry
    6 from waeup.kofa.students.tests.test_batching import StudentImportExportSetup
     6from waeup.kofa.students.tests.test_batching import (
     7    StudentImportExportSetup, curr_year)
    78from waeup.uniben.utils.utils import CustomKofaUtils
    89from waeup.uniben.students.export import (
     
    107108            'r_pay_reference,thirdparty_amt,student_id,state,'
    108109            'current_session\r\n'
    109             '666,12.12,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
    110             '100,2012,paid,2012-04-01 14:12:01#,,12.12,'
    111             '789,r-code,interswatch,,,,A111111,created,2012\r\n',
    112             result
     110            '666,12.12,%s-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
     111            '100,%s,paid,%s-04-01 14:12:01#,,12.12,'
     112            '789,r-code,interswatch,,,,A111111,created,2012\r\n'
     113            % (curr_year-6, curr_year-6, curr_year-6), result
    113114            )
    114115        return
Note: See TracChangeset for help on using the changeset viewer.