- Timestamp:
- 7 Nov 2012, 14:06:39 (12 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py
r9528 r9568 240 240 self.assertEqual(payment.p_level, 200) 241 241 self.assertEqual(payment.p_session, 2005) 242 self.assertEqual(payment.amount_auth, 3 1090.0)242 self.assertEqual(payment.amount_auth, 38850.0) 243 243 self.assertEqual(payment.p_item, u'CERT1') 244 244 self.assertEqual(error, None) -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r9528 r9568 40 40 ( 41 41 (34400.0, 36600.0, 29500.0, 28800.0, 0.0, 38700.0, 30700.0, 29900.0, 0.0, 47250.0), # science 42 (3 2900.0, 35100.0, 28000.0, 27300.0, 0.0, 37200.0, 29200.0, 28400.0, 0.0, 47250.0) # arts42 (34400.0, 35100.0, 28000.0, 27300.0, 0.0, 37200.0, 29200.0, 28400.0, 0.0, 47250.0) # arts 43 43 ), # local 44 44 ( 45 (49500.0, 52100.0, 3 1090.0, 35900.0, 0.0, 55600.0, 33900.0, 38600.0, 0.0, 71880.0), # science46 (4 8000.0, 50600.0, 29590.0, 34400.0, 0.0, 54100.0, 32400.0, 37100.0, 0.0, 71880.0) # arts45 (49500.0, 52100.0, 38850.0, 35900.0, 0.0, 55600.0, 40850.0, 38600.0, 0.0, 71880.0), # science 46 (49500.0, 50600.0, 37350.0, 34400.0, 0.0, 54100.0, 39350.0, 37100.0, 0.0, 71880.0) # arts 47 47 ), # non-local 48 48 ), # ft 49 49 ( 50 50 ( 51 (0.0, 39400.0, 30900.0, 0.0, 30900.0, 3 8900.0, 31050.0, 0.0, 31050.0, 0.0), # science52 (0.0, 37900.0, 29400.0, 0.0, 29400.0, 3 7400.0, 29550.0, 0.0, 29550.0, 0.0) # arts51 (0.0, 39400.0, 30900.0, 0.0, 30900.0, 39900.0, 31050.0, 0.0, 31050.0, 0.0), # science 52 (0.0, 37900.0, 29400.0, 0.0, 29400.0, 38400.0, 29550.0, 0.0, 29550.0, 0.0) # arts 53 53 ), # local 54 54 ( … … 63 63 def local_nonlocal(student): 64 64 lga = getattr(student, 'lga') 65 if lga and student.lga.startswith('kwara'):65 if lga and lga.startswith('kwara'): 66 66 return 'local' 67 67 else:
Note: See TracChangeset for help on using the changeset viewer.