- Timestamp:
- 29 Oct 2013, 15:39:40 (11 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r10597 r10672 90 90 self.browser.contents) 91 91 self.assertMatches( 92 '...<span>3 6600.0</span>...',92 '...<span>39400.0</span>...', 93 93 self.browser.contents) 94 94 self.payment_url = self.browser.url … … 119 119 self.browser.contents) 120 120 self.assertTrue( 121 '<input type="hidden" name="amount" value="3 660000.0" />' in122 self.browser.contents) 123 self.assertTrue( 124 'item_name="School Fee" item_amt="3 330000" bank_id="120" acct_num="1771180233"' in121 '<input type="hidden" name="amount" value="3940000.0" />' in 122 self.browser.contents) 123 self.assertTrue( 124 'item_name="School Fee" item_amt="3610000" bank_id="120" acct_num="1771180233"' in 125 125 self.browser.contents) 126 126 self.assertTrue( -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py
r9737 r10672 225 225 self.assertEqual(payment.p_level, 100) 226 226 self.assertEqual(payment.p_session, 2004) 227 self.assertEqual(payment.amount_auth, 5 2100.0)227 self.assertEqual(payment.amount_auth, 53900.0) 228 228 self.assertEqual(payment.p_item, u'CERT1') 229 229 self.assertEqual(error, None) … … 238 238 self.assertEqual(payment.p_level, 200) 239 239 self.assertEqual(payment.p_session, 2005) 240 self.assertEqual(payment.amount_auth, 3 8850.0)240 self.assertEqual(payment.amount_auth, 32090.0) 241 241 self.assertEqual(payment.p_item, u'CERT1') 242 242 self.assertEqual(error, None) -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r9811 r10672 53 53 ( 54 54 ( # 10 100 110 200 210 300 400 410 500 510 600 999 55 (34 400.0, 36600.0, 28800.0, 29500.0, 28800.0, 0.0, 38700.0, 29900.0, 30700.0, 29900.0, 0.0, 47250.0), # science56 (34 400.0, 35100.0, 27300.0, 28000.0, 27300.0, 0.0, 37200.0, 28400.0, 29200.0, 28400.0, 0.0, 47250.0) # arts55 (34500.0, 39400.0, 28500.0, 29500.0, 28500.0, 0.0, 40000.0, 29400.0, 31700.0, 29400.0, 0.0, 56600.0), # science 56 (34500.0, 37900.0, 27000.0, 28000.0, 27000.0, 0.0, 38500.0, 27900.0, 20200.0, 27900.0, 0.0, 55100.0) # arts 57 57 ), # local 58 58 ( # 10 100 110 200 210 300 400 410 500 510 600 999 59 (49 500.0, 52100.0, 35900.0, 38850.0, 35900.0, 0.0, 55600.0, 38600.0, 40850.0, 38600.0, 0.0, 71880.0), # science60 (49 500.0, 50600.0, 34400.0, 37350.0, 34400.0, 0.0, 54100.0, 37100.0, 39350.0, 37100.0, 0.0, 71880.0) # arts59 (49600.0, 53900.0, 37600.0, 32090.0, 37600.0, 0.0, 56400.0, 39100.0, 34900.0, 39100.0, 0.0, 83250.0), # science 60 (49600.0, 52400.0, 36100.0, 30590.0, 36100.0, 0.0, 54900.0, 37600.0, 33400.0, 37600.0, 0.0, 81750.0) # arts 61 61 ), # non-local 62 62 ), # ft 63 63 ( 64 64 ( # 10 100 110 200 210 300 400 410 500 510 600 999 65 (0.0, 39400.0, 0.0, 30900.0, 0.0, 30900.0, 39900.0, 0.0, 31050.0, 0.0, 31050.0, 0.0), # science66 (0.0, 3 7900.0, 0.0, 29400.0, 0.0, 29400.0, 38400.0, 0.0, 29550.0, 0.0, 29550.0, 0.0) # arts65 (0.0, 40700.0, 0.0, 29900.0, 0.0, 29900.0, 41100.0, 0.0, 31050.0, 0.0, 31050.0, 0.0), # science 66 (0.0, 39200.0, 0.0, 28400.0, 0.0, 28400.0, 39600.0, 0.0, 29550.0, 0.0, 29550.0, 0.0) # arts 67 67 ), # local 68 68 ( # 10 100 110 200 210 300 400 410 500 510 600 999 69 (0.0, 5 4600.0, 0.0, 32350.0, 0.0, 32350.0, 57100.0, 0.0, 42350.0, 0.0, 42350.0, 0.0), # science70 (0.0, 53 100.0, 0.0, 30850.0, 0.0, 30850.0, 55600.0, 0.0, 40850.0, 0.0, 40850.0, 0.0) # arts69 (0.0, 55400.0, 0.0, 33850.0, 0.0, 33850.0, 58300.0, 0.0, 42350.0, 0.0, 42350.0, 0.0), # science 70 (0.0, 53900.0, 0.0, 32350.0, 0.0, 32350.0, 56800.0, 0.0, 40850.0, 0.0, 40850.0, 0.0) # arts 71 71 ), # non-local 72 72 ), # pt
Note: See TracChangeset for help on using the changeset viewer.