Ignore:
Timestamp:
11 Jul 2018, 04:18:55 (6 years ago)
Author:
Henrik Bettermann
Message:

Change provider amount again and adjust tests.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/interswitch
Files:
2 edited

Legend:

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

    r15080 r15084  
    9090            self.pay_item_id = '101'
    9191            self.mac = MAC_PT
     92            provider_amt = 4000.0
    9293        else:
    9394            self.product_id = PRODUCT_ID_REGULAR
    9495            self.pay_item_id = '109'
    9596            self.mac = MAC_REGULAR
     97            provider_amt = 1000.0
    9698        xmldict = {}
    97         provider_amt = 1000.0
    9899        xmldict['institution_acct'] = '1010835352'
    99100        xmldict['institution_bank_id'] = '117'
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py

    r14945 r15084  
    7878            in self.browser.contents)
    7979        self.assertTrue(
    80             'item_name="WAeAC" item_amt="400000"'
    81             in self.browser.contents)
    82         self.assertTrue(
    83             'item_name="Application Fee" item_amt="575000" bank_id="117" acct_num="1010827641"'
     80            'item_name="WAeAC" item_amt="100000"'
     81            in self.browser.contents)
     82        self.assertTrue(
     83            'item_name="Application Fee" item_amt="875000" bank_id="117" acct_num="1010835352"'
    8484            in self.browser.contents)
    8585        self.assertTrue(
     
    109109            in self.browser.contents)
    110110        self.assertTrue(
    111             'item_name="WAeAC" item_amt="400000"'
    112             in self.browser.contents)
    113         self.assertTrue(
    114             'item_name="Application Fee" item_amt="375000" bank_id="117" acct_num="1010827641"'
     111            'item_name="WAeAC" item_amt="100000"'
     112            in self.browser.contents)
     113        self.assertTrue(
     114            'item_name="Application Fee" item_amt="675000" bank_id="117" acct_num="1010835352"'
    115115            in self.browser.contents)
    116116        self.assertTrue(
     
    143143            in self.browser.contents)
    144144        self.assertTrue(
    145             'item_name="WAeAC" item_amt="400000"'
    146             in self.browser.contents)
    147         self.assertTrue(
    148             'item_name="Application Fee" item_amt="575000" bank_id="117" acct_num="1010827641"'
     145            'item_name="WAeAC" item_amt="100000"'
     146            in self.browser.contents)
     147        self.assertTrue(
     148            'item_name="Application Fee" item_amt="875000" bank_id="117" acct_num="1010835352"'
    149149            in self.browser.contents)
    150150        self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.