Changeset 14218 for main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students
- Timestamp:
- 19 Oct 2016, 11:04:49 (8 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/browser.py
r14164 r14218 129 129 class CustomStartClearancePage(StartClearancePage): 130 130 131 with_ac = False131 with_ac = True 132 132 133 133 -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py
r13891 r14218 235 235 self.assertEqual(payment.p_level, 100) 236 236 self.assertEqual(payment.p_session, 2004) 237 self.assertEqual(payment.amount_auth, 55200.0)237 self.assertEqual(payment.amount_auth, 77500.0) 238 238 self.assertEqual(payment.p_item, u'CERT1') 239 239 self.assertEqual(error, None) … … 248 248 self.assertEqual(payment.p_level, 200) 249 249 self.assertEqual(payment.p_session, 2005) 250 self.assertEqual(payment.amount_auth, 34090.0)250 self.assertEqual(payment.amount_auth, 50500.0) 251 251 self.assertEqual(payment.p_item, u'CERT1') 252 252 self.assertEqual(error, None) … … 254 254 configuration.penalty_ug = 5000.0 255 255 error, payment = utils.setPaymentDetails('schoolfee',self.student) 256 self.assertEqual(payment.amount_auth, 39090.0)256 self.assertEqual(payment.amount_auth, 55500.0) 257 257 self.assertEqual(error, None) 258 258 … … 339 339 # In KwaraPoly the students can just start clearance without entering 340 340 # an activation code. 341 self.browser.getControl("Start clearance now").click() 342 self.assertMatches('...Clearance process has been started...', 343 self.browser.contents) 341 # Deactivated on 19/10/2016 342 #self.browser.getControl("Start clearance now").click() 343 #self.assertMatches('...Clearance process has been started...', 344 # self.browser.contents) 344 345 345 346 def test_change_passport(self): -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r13891 r14218 56 56 ( 57 57 ( # 10 100 110 200 210 300 400 410 500 510 600 999 58 (34500.0, 40700.0, 33600.0, 31500.0, 33600.0, 0.0, 46200.0, 35600.0, 34700.0, 35600.0, 0.0, 48750.0), # science59 (34500.0, 38700.0, 31600.0, 29500.0, 31600.0, 0.0, 44200.0, 33600.0, 32700.0, 33600.0, 0.0, 47200.0) # arts58 (34500.0, 55500.0, 46500.0, 42500.0, 46500.0, 0.0, 63000.0, 48500.0, 46000.0, 48500.0, 0.0, 48750.0), # science 59 (34500.0, 52500.0, 41500.0, 39500.0, 41500.0, 0.0, 59000.0, 43500.0, 41000.0, 43500.0, 0.0, 47200.0) # arts 60 60 ), # local 61 61 ( # 10 100 110 200 210 300 400 410 500 510 600 999 62 (49600.0, 55200.0, 41100.0, 34090.0, 41100.0, 0.0, 60700.0, 45600.0, 37900.0, 45600.0, 0.0, 63180.0), # science63 (49600.0, 53200.0, 39100.0, 32090.0, 39100.0, 0.0, 58700.0, 43600.0, 35900.0, 43600.0, 0.0, 61680.0) # arts62 (49600.0, 77500.0, 57500.0, 50500.0, 57500.0, 0.0, 81000.0, 61500.0, 53000.0, 61500.0, 0.0, 63180.0), # science 63 (49600.0, 72500.0, 52500.0, 45500.0, 52500.0, 0.0, 76000.0, 56500.0, 48000.0, 56500.0, 0.0, 61680.0) # arts 64 64 ), # non-local 65 65 ), # ft 66 66 ( 67 67 ( # 10 100 110 200 210 300 400 410 500 510 600 999 68 (0.0, 42000.0, 33600.0, 33400.0, 33600.0, 33400.0, 42400.0, 35600.0, 35500.0, 35600.0, 35500.0, 0.0), # science69 (0.0, 40000.0, 31600.0, 31400.0, 31600.0, 31400.0, 40400.0, 33600.0, 33500.0, 33600.0, 33500.0, 0.0) # arts68 (0.0, 58000.0, 46500.0, 46000.0, 46500.0, 46000.0, 58500.0, 48500.0, 47000.0, 48500.0, 47000.0, 0.0), # science 69 (0.0, 53000.0, 41500.0, 41000.0, 41500.0, 41000.0, 53500.0, 43500.0, 42000.0, 43500.0, 42000.0, 0.0) # arts 70 70 ), # local 71 71 ( # 10 100 110 200 210 300 400 410 500 510 600 999 72 (0.0, 56700.0, 41100.0, 36350.0, 41100.0, 36350.0, 57600.0, 45600.0, 45850.0, 45600.0, 45850.0, 0.0), # science73 (0.0, 54700.0, 39100.0, 34350.0, 39100.0, 34350.0, 55600.0, 43600.0, 43850.0, 43600.0, 43850.0, 0.0) # arts72 (0.0, 75000.0, 57500.0, 52000.0, 57500.0, 52000.0, 80000.0, 61500.0, 62000.0, 61500.0, 62000.0, 0.0), # science 73 (0.0, 70000.0, 52500.0, 47000.0, 52500.0, 47000.0, 75000.0, 56500.0, 57000.0, 56500.0, 57000.0, 0.0) # arts 74 74 ), # non-local 75 75 ), # we
Note: See TracChangeset for help on using the changeset viewer.