Ignore:
Timestamp:
23 May 2012, 21:33:14 (12 years ago)
Author:
Henrik Bettermann
Message:

Fix getPaymentDetails and adjust browser test.

File:
1 edited

Legend:

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

    r8474 r8505  
    316316        self.app['configuration']['2004'].booking_fee = 150.0
    317317        self.app['configuration']['2004'].maint_fee = 180.0
     318        self.app['configuration']['2004'].clearance_fee = 360.0
    318319        utils = getUtility(IStudentsUtils)
    319320        self.assertEqual(utils.getPaymentDetails('schoolfee',self.student),
     
    322323            )
    323324        self.assertEqual(utils.getPaymentDetails('clearance',self.student),
    324             {'p_level': 100, 'p_session': 2004, 'amount': 34250.0,
     325            {'p_level': 100, 'p_session': 2004, 'amount': 360.0,
    325326            'p_item': u'CERT1', 'error': u''}
    326327            )
Note: See TracChangeset for help on using the changeset viewer.