Ignore:
Timestamp:
27 Mar 2017, 10:39:43 (8 years ago)
Author:
Henrik Bettermann
Message:

Decrease Interswitch surcharge.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_browser.py

    r14344 r14658  
    7373        self.assertEqual(self.student['payments'].values()[0].p_category, 'schoolfee_1')
    7474        self.assertEqual(self.student['payments'].values()[1].p_category, 'schoolfee_2')
    75         # 79200 / 2 + 300
    76         self.assertEqual(self.student['payments'].values()[0].amount_auth, 39900.0)
    77         self.assertEqual(self.student['payments'].values()[1].amount_auth, 39900.0)
     75        # 79200 / 2 + 250
     76        self.assertEqual(self.student['payments'].values()[0].amount_auth, 39850.0)
     77        self.assertEqual(self.student['payments'].values()[1].amount_auth, 39850.0)
    7878        # The  two payments belong to the same session and level.
    7979        self.assertEqual(self.student['payments'].values()[0].p_session, 2004)
     
    103103        self.assertEqual(self.student.current_level, 200)
    104104        self.assertEqual(self.student.current_session, 2005)
    105         # 63100 / 2 + 300
    106         self.assertEqual(self.student['payments'].values()[2].amount_auth, 31850.0)
    107         self.assertEqual(self.student['payments'].values()[3].amount_auth, 31850.0)
     105        # 63100 / 2 + 250
     106        self.assertEqual(self.student['payments'].values()[2].amount_auth, 31800.0)
     107        self.assertEqual(self.student['payments'].values()[3].amount_auth, 31800.0)
    108108        # The last two payments belong to the same session and level.
    109109        self.assertEqual(self.student['payments'].values()[2].p_session, 2005)
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_utils.py

    r14639 r14658  
    3131        self.assertEqual(payment.p_level, 100)
    3232        self.assertEqual(payment.p_session, 2016)
    33         self.assertEqual(payment.amount_auth, 79500.0)
     33        self.assertEqual(payment.amount_auth, 79450.0)
    3434        self.assertEqual(payment.p_item, u'CERT1')
    3535        self.assertEqual(error, None)
     
    3838        self.assertEqual(payment.p_level, 100)
    3939        self.assertEqual(payment.p_session, 2016)
    40         self.assertEqual(payment.amount_auth, 39900.0)
     40        self.assertEqual(payment.amount_auth, 39850.0)
    4141        self.assertEqual(payment.p_item, u'CERT1')
    4242        self.assertEqual(error, None)
     
    4545        self.assertEqual(payment.p_level, 100)
    4646        self.assertEqual(payment.p_session, 2016)
    47         self.assertEqual(payment.amount_auth, 39900.0)
     47        self.assertEqual(payment.amount_auth, 39850.0)
    4848        self.assertEqual(payment.p_item, u'CERT1')
    4949        self.assertEqual(error, None)
     
    5555        self.student.lga = 'delta_burutu'
    5656        error, payment = utils.setPaymentDetails('schoolfee',self.student)
    57         self.assertEqual(payment.amount_auth, 69500.0)
     57        self.assertEqual(payment.amount_auth, 69450.0)
    5858        error, payment = utils.setPaymentDetails('clearance',self.student)
    5959        self.assertEqual(payment.amount_auth, 20300.0)
Note: See TracChangeset for help on using the changeset viewer.