Ignore:
Timestamp:
27 Nov 2012, 11:17:29 (12 years ago)
Author:
Henrik Bettermann
Message:

We've been informed that provider amount is zero.

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

Legend:

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

    r9727 r9728  
    275275        elif self.context.p_category.startswith('hostel_maintenance'):
    276276            self.pay_item_id = '5705'
    277             provider_amt = 400
     277            provider_amt = 0
    278278            xmldict['institution_bank_id'] = '129'
    279279            xmldict['institution_acct'] = '0014414547'
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py

    r9727 r9728  
    197197        self.browser.getLink(value).click()
    198198        self.assertMatches(
    199             '...<span>8550.0</span>...',
     199            '...<span>8150.0</span>...',
    200200            self.browser.contents)
    201201        # Manager can access InterswitchForm
     
    206206                           self.browser.contents)
    207207        self.assertMatches(
    208             '...<input type="hidden" name="amount" value="855000.0" />...',
     208            '...<input type="hidden" name="amount" value="815000.0" />...',
    209209            self.browser.contents)
    210210        self.assertMatches(
    211211            '...<item_detail item_id="1" item_name="Hostel Maint. Fee" item_amt="800000" bank_id="129" acct_num="0014414547" />...',
    212212            self.browser.contents)
    213         self.assertMatches(
    214             '...item_name="BT Education" item_amt="40000" bank_id="117" acct_num="1010764827"...',
    215             self.browser.contents)
    216 
     213        self.assertFalse(
     214            'item_name="BT Education"' in self.browser.contents)
    217215
    218216#    @external_test
Note: See TracChangeset for help on using the changeset viewer.