- Timestamp:
- 23 Oct 2012, 08:32:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py
r9388 r9393 32 32 from waeup.kofa.students.interfaces import IStudentsUtils 33 33 from waeup.kwarapoly.testing import FunctionalLayer 34 from waeup.kwarapoly.students.utils import ( 35 local_nonlocal, arts_science, pt_ft) 34 36 35 37 … … 195 197 196 198 IWorkflowState(self.student).setState('cleared') 199 self.assertEqual(local_nonlocal(self.student), 'non-local') 200 self.assertEqual(arts_science(self.student), 'science') 201 self.assertEqual(pt_ft(self.student), 'ft') 202 197 203 error, payment = utils.setPaymentDetails('schoolfee',self.student) 198 204 self.assertEqual(payment.p_level, 100) 199 205 self.assertEqual(payment.p_session, 2004) 200 self.assertEqual(payment.amount_auth, 60980.0)206 self.assertEqual(payment.amount_auth, 44630.0) 201 207 self.assertEqual(payment.p_item, u'CERT1') 202 208 self.assertEqual(error, None) … … 206 212 self.assertEqual(payment.p_level, 200) 207 213 self.assertEqual(payment.p_session, 2005) 208 self.assertEqual(payment.amount_auth, 60980.0)214 self.assertEqual(payment.amount_auth, 44590.0) 209 215 self.assertEqual(payment.p_item, u'CERT1') 210 216 self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.