Changeset 9385


Ignore:
Timestamp:
22 Oct 2012, 12:12:37 (12 years ago)
Author:
Henrik Bettermann
Message:

Use dummy account number and bank id instead of empty string.

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

    r9384 r9385  
    230230        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
    231231        # Institution data
    232         xmldict['institution_acct'] = ''
    233         xmldict['institution_bank_id'] = ''
     232        xmldict['institution_acct'] = '000000000000'
     233        xmldict['institution_bank_id'] = '00'
    234234        xmldict['institution_amt'] = '0.0'
    235235        if self.context.p_category == 'schoolfee':
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py

    r9384 r9385  
    9292            self.browser.contents)
    9393        self.assertMatches(
    94             '...item_name="School Fee" item_amt="3835000" bank_id="" acct_num=""...',
     94            '...item_name="School Fee" item_amt="3835000" bank_id="00" acct_num="000000000000"...',
    9595            self.browser.contents)
    9696        self.assertMatches(
Note: See TracChangeset for help on using the changeset viewer.