Ignore:
Timestamp:
23 Oct 2012, 08:24:31 (12 years ago)
Author:
Henrik Bettermann
Message:

Configure Interswitch module with hash value in form.

File:
1 edited

Legend:

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

    r9387 r9392  
    6969        self.student['studycourse'].current_verdict = 'A'
    7070        self.student['studycourse'].current_level = 100
     71        # Set local lga
     72        self.student.lga = u'kwara_asa'
    7173        # Update the catalog
    7274        notify(grok.ObjectModifiedEvent(self.student))
     
    101103                           self.browser.contents)
    102104        self.assertMatches(
    103             '...<span>60980.0</span>...',
     105            '...<span>37100.0</span>...',
    104106            self.browser.contents)
    105107        self.payment_url = self.browser.url
     
    110112                           self.browser.contents)
    111113        self.assertMatches(
    112             '...<input type="hidden" name="amount" value="6098000.0" />...',
    113             self.browser.contents)
    114         self.assertMatches(
    115             '...item_name="schoolfee" item_amt="5768000" bank_id="120" acct_num="1771180233"...',
     114            '...<input type="hidden" name="amount" value="3710000.0" />...',
     115            self.browser.contents)
     116        self.assertMatches(
     117            '...item_name="schoolfee" item_amt="3380000" bank_id="120" acct_num="1771180233"...',
    116118            self.browser.contents)
    117119        self.assertMatches(
Note: See TracChangeset for help on using the changeset viewer.