Ignore:
Timestamp:
1 Nov 2013, 09:11:10 (11 years ago)
Author:
Henrik Bettermann
Message:

Take hostel_maintenance fee from hostel objects. Store bed coordinates as payment item.

File:
1 edited

Legend:

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

    r10675 r10682  
    204204        self.assertMatches('...Amount Authorized...',
    205205                           self.browser.contents)
    206         # Maint fee is taken from the session configuration object
    207         self.assertMatches(
    208             '...<span>987.0</span>...',
     206        # Maint fee is taken from the hostel object
     207        self.assertMatches(
     208            '...<span>876.0</span>...',
    209209            self.browser.contents)
    210210        self.payment_url = self.browser.url
     
    223223            self.browser.contents)
    224224        self.assertMatches(
    225             '...<input type="hidden" name="amount" value="98700.0" />...',
    226             self.browser.contents)
    227         self.assertMatches(
    228             '...item_name="Hostel Maintenance Fee" item_amt="68700" bank_id="31" acct_num="0039050937"...',
     225            '...<input type="hidden" name="amount" value="87600.0" />...',
     226            self.browser.contents)
     227        self.assertMatches(
     228            '...item_name="Hostel Maintenance Fee" item_amt="57600" bank_id="31" acct_num="0039050937"...',
    229229            self.browser.contents)
    230230
Note: See TracChangeset for help on using the changeset viewer.