- Timestamp:
- 1 Sep 2012, 15:16:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r8908 r9143 74 74 self.app['configuration']['2004'].gown_fee = 150.0 75 75 self.app['configuration']['2004'].transfer_fee = 90.0 76 #self.app['configuration']['2004'].clearance_fee = 120.076 self.app['configuration']['2004'].clearance_fee = 120.0 77 77 self.app['configuration']['2004'].booking_fee = 150.0 78 78 self.app['configuration']['2004'].maint_fee = 180.0 … … 186 186 self.app['configuration']['2004'].booking_fee = 150.0 187 187 self.app['configuration']['2004'].maint_fee = 180.0 188 self.app['configuration']['2004'].clearance_fee = 120.0 188 189 utils = getUtility(IStudentsUtils) 189 190 … … 196 197 self.assertEqual(payment.p_level, 100) 197 198 self.assertEqual(payment.p_session, 2004) 198 self.assertEqual(payment.amount_auth, 40000.0)199 self.assertEqual(payment.amount_auth, 12495.0) 199 200 self.assertEqual(payment.p_item, u'CERT1') 200 201 self.assertEqual(error, None) … … 202 203 IWorkflowState(self.student).setState('returning') 203 204 error, payment = utils.setPaymentDetails('schoolfee',self.student) 204 self.assertEqual(payment.p_level, 200)205 self.assertEqual(payment.p_session, 200 5)206 self.assertEqual(payment.amount_auth, 20000.0)205 self.assertEqual(payment.p_level, 100) 206 self.assertEqual(payment.p_session, 2004) 207 self.assertEqual(payment.amount_auth, 11545.0) 207 208 self.assertEqual(payment.p_item, u'CERT1') 208 209 self.assertEqual(error, None) … … 211 212 self.assertEqual(payment.p_level, 100) 212 213 self.assertEqual(payment.p_session, 2004) 213 self.assertEqual(payment.amount_auth, 34250.0)214 self.assertEqual(payment.amount_auth, 120.0) 214 215 self.assertEqual(payment.p_item, u'CERT1') 215 216 self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.