Changeset 9725


Ignore:
Timestamp:
26 Nov 2012, 14:49:42 (12 years ago)
Author:
Henrik Bettermann
Message:

Setup xml data for co payments.

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

Legend:

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

    r9724 r9725  
    280280        # Interswitch amount is not part of the xml data
    281281
    282         if self.context.p_category == 'schoolfee':
     282        if self.context.p_category in ('schoolfee', 'co1', 'co2', 'co3'):
    283283            xmltext = """<payment_item_detail>
    284284<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py

    r9710 r9725  
    155155                           self.browser.contents)
    156156
    157         # So far maintenance fee is not yet properly configured!!!
    158 
    159157        # Maint fee is taken from the session configuration object
    160158        self.assertMatches(
     
    177175            '...item_name="Hostel Maintenance Fee" item_amt="68700" bank_id="31" acct_num="0039050937"...',
    178176            self.browser.contents)
    179         # BT does nor charge a fee for maintenance fee
    180         #self.assertFalse("BT Education" in self.browser.contents)
    181177
    182178#    @external_test
Note: See TracChangeset for help on using the changeset viewer.