Ignore:
Timestamp:
27 Jun 2013, 07:33:45 (12 years ago)
Author:
Henrik Bettermann
Message:

Add Interswitch surcharge to all student fees.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py

    r10201 r10388  
    230230        self.assertEqual(payment.p_level, 100)
    231231        self.assertEqual(payment.p_session, 2004)
    232         self.assertEqual(payment.amount_auth, 12495.0)
     232        self.assertEqual(payment.amount_auth, 12645.0)
    233233        self.assertEqual(payment.p_item, u'CERT1')
    234234        self.assertEqual(error, None)
     
    243243        self.assertEqual(payment.p_level, 200)
    244244        self.assertEqual(payment.p_session, 2005)
    245         self.assertEqual(payment.amount_auth, 11545.0)
     245        self.assertEqual(payment.amount_auth, 11695.0)
    246246        self.assertEqual(payment.p_item, u'CERT1')
    247247        self.assertEqual(error, None)
    248248
    249         # UG students pay 65150
     249        # UG students pay 65800
    250250        self.certificate.study_mode = 'ug_ft'
    251251        error, payment = utils.setPaymentDetails('schoolfee',self.student)
    252         self.assertEqual(payment.amount_auth, 65650.0)
     252        self.assertEqual(payment.amount_auth, 65800.0)
    253253        self.assertEqual(error, None)
    254254
     
    265265        self.assertEqual(payment.p_level, 100)
    266266        self.assertEqual(payment.p_session, 2004)
    267         self.assertEqual(payment.amount_auth, 120.0)
     267        self.assertEqual(payment.amount_auth, 270.0)
    268268        self.assertEqual(payment.p_item, u'CERT1')
    269269        self.assertEqual(error, None)
     
    272272        self.assertEqual(payment.p_level, 100)
    273273        self.assertEqual(payment.p_session, 2004)
    274         self.assertEqual(payment.amount_auth, 150.0)
     274        self.assertEqual(payment.amount_auth, 300.0)
    275275        self.assertEqual(payment.p_item, u'')
    276276        self.assertEqual(error, None)
     
    285285        self.assertEqual(payment.p_level, 100)
    286286        self.assertEqual(payment.p_session, 2004)
    287         self.assertEqual(payment.amount_auth, 4150.0)
     287        self.assertEqual(payment.amount_auth, 4300.0)
    288288        self.assertEqual(payment.p_item, u'My bed coordinates')
    289289        self.assertEqual(error, None)
     
    293293        self.assertEqual(payment.p_level, 100)
    294294        self.assertEqual(payment.p_session, 2004)
    295         self.assertEqual(payment.amount_auth, 2650.0)
     295        self.assertEqual(payment.amount_auth, 2800.0)
    296296        self.assertEqual(payment.p_item, u'My bed coordinates')
    297297        self.assertEqual(error, None)
     
    300300        self.assertEqual(payment.p_level, 100)
    301301        self.assertEqual(payment.p_session, 2004)
    302         self.assertEqual(payment.amount_auth, 150.0)
     302        self.assertEqual(payment.amount_auth, 300.0)
    303303        self.assertEqual(payment.p_item, u'')
    304304        self.assertEqual(error, None)
     
    307307        self.assertEqual(payment.p_level, 100)
    308308        self.assertEqual(payment.p_session, 2004)
    309         self.assertEqual(payment.amount_auth, 90.0)
     309        self.assertEqual(payment.amount_auth, 240.0)
    310310        self.assertEqual(payment.p_item, u'')
    311311        self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.