Ignore:
Timestamp:
25 Feb 2022, 06:16:09 (3 years ago)
Author:
Henrik Bettermann
Message:

Distinguish local and non-local students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py

    r16736 r16835  
    6969        self.assertMatches('...Amount Authorized...',
    7070                           self.browser.contents)
    71         self.assertTrue(
    72             '<span>40000.0</span>' in self.browser.contents)
     71        # plus 40000 because student is not from Delta state.
     72        self.assertTrue(
     73            '<span>80000.0</span>' in self.browser.contents)
    7374        self.payment_url = self.browser.url
    7475        self.browser.getLink("Pay via Interswitch", index=0).click()
     
    7778        self.assertEqual(self.student.current_mode, 'ug_ft')
    7879        self.assertTrue(
    79             '<input type="hidden" name="amount" value="4025000" />' in
    80             self.browser.contents)
    81         self.assertTrue(
    82             'item_name="School Fee" item_amt="4000000" bank_id="117" acct_num="1216063205"' in
     80            '<input type="hidden" name="amount" value="8025000" />' in
     81            self.browser.contents)
     82        self.assertTrue(
     83            'item_name="School Fee" item_amt="8000000" bank_id="117" acct_num="1216063205"' in
    8384            self.browser.contents)
    8485
Note: See TracChangeset for help on using the changeset viewer.