Ignore:
Timestamp:
11 Nov 2015, 19:49:12 (9 years ago)
Author:
Henrik Bettermann
Message:

revert to the old Interswitch surcharge.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py

    r13437 r13438  
    121121        self.browser.getLink(self.value).click()
    122122        self.assertTrue('Amount Authorized' in self.browser.contents)
    123         # 50250 + 0.985 * (1000 + 500)
    124         self.assertTrue('<span>51727.5</span>' in self.browser.contents)
     123        # 50250 + 1000 + 500 -500
     124        self.assertTrue('<span>51250.0</span>' in self.browser.contents)
    125125        self.payment_url = self.browser.url
    126126        self.browser.getLink("CollegePAY", index=0).click()
     
    137137        self.assertEqual(self.student.current_mode, 'ug_pt')
    138138        self.assertTrue(
    139             '<input type="hidden" name="amount" value="5172750" />'
     139            '<input type="hidden" name="amount" value="5125000" />'
    140140            in self.browser.contents)
    141141        self.assertTrue(
     
    204204        self.browser.getLink(self.value).click()
    205205        self.assertTrue('Amount Authorized' in self.browser.contents)
    206         # 40250 + 0.985 * (2000 + 800)
    207         self.assertTrue('<span>43008.0</span>' in self.browser.contents)
     206        # 40250 + 2000 + 800 - 500
     207        self.assertTrue('<span>42550.0</span>' in self.browser.contents)
    208208        self.payment_url = self.browser.url
    209209        self.browser.getLink("CollegePAY", index=0).click()
     
    212212        self.assertTrue('Total Amount Authorized:' in self.browser.contents)
    213213        self.assertTrue(
    214             '<input type="hidden" name="amount" value="4300800" />'
     214            '<input type="hidden" name="amount" value="4255000" />'
    215215            in self.browser.contents)
    216216        self.assertTrue(
     
    276276            in self.browser.contents)
    277277        self.assertTrue(
    278             'item_name="Concessional Fee" item_amt="154349" '
     278            'item_name="Concessional Fee" item_amt="131700" '
    279279            'bank_id="117" acct_num="1010835352"'
    280280            in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.