Changeset 11653 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 15 May 2014, 07:08:46 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r11627 r11653 51 51 self.app['configuration']['2004'].maint_fee = 180.0 52 52 self.app['configuration']['2004'].clearance_fee = 1234.0 53 self.app['configuration']['2004'].clearance_fee_fp = 3456.0 53 54 self.app['configuration']['2004'].school_fee_1 = 6666.0 54 55 utils = getUtility(IStudentsUtils) … … 89 90 self.assertEqual(payment.p_session, 2004) 90 91 self.assertEqual(payment.amount_auth, 1234.0) 92 self.assertEqual(payment.p_item, u'CERT1') 93 self.assertEqual(error, None) 94 95 self.app['faculties']['fac1'].code = u'FP' 96 error, payment = utils.setPaymentDetails('clearance',self.student) 97 self.assertEqual(payment.p_level, 100) 98 self.assertEqual(payment.p_session, 2004) 99 self.assertEqual(payment.amount_auth, 3456.0) 91 100 self.assertEqual(payment.p_item, u'CERT1') 92 101 self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.