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

Add payment category 'block_h_payment'.

The interswitch module has still to be configured. Bank details and pay_item_id is missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_browser.py

    r9404 r9409  
    162162        self.assertEqual(payment.p_level, 100)
    163163        self.assertEqual(payment.p_session, 2004)
    164         self.assertEqual(payment.amount_auth, 15000.0)
     164        self.assertEqual(payment.amount_auth, 10000.0)
    165165        self.assertEqual(payment.p_item, u'sse_male_fr')
    166166        self.assertEqual(error, None)
     
    171171        self.assertEqual(payment.p_session, 2004)
    172172        self.assertEqual(payment.amount_auth, 10000.0)
     173        self.assertEqual(payment.p_item, u'regular_male_fr')
     174        self.assertEqual(error, None)
     175
     176        error, payment = utils.setPaymentDetails('block_h_maintenance',self.student)
     177        self.assertEqual(payment.p_level, 100)
     178        self.assertEqual(payment.p_session, 2004)
     179        self.assertEqual(payment.amount_auth, 15000.0)
    173180        self.assertEqual(payment.p_item, u'regular_male_fr')
    174181        self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.