Changeset 8307 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 29 Apr 2012, 06:51:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r8305 r8307 1414 1414 self.browser.contents) 1415 1415 1416 # Students can add online school fee payment tickets 1416 # Students can add online school fee payment tickets. 1417 IWorkflowState(self.student).setState('returning') 1417 1418 self.browser.open(self.payments_path) 1418 1419 self.browser.getControl("Add online payment ticket").click() … … 1426 1427 self.assertMatches('...Amount Authorized...', 1427 1428 self.browser.contents) 1428 # Payment session and level have been calculated as defined 1429 # in w.k.students.utils 1429 self.assertEqual(self.student['payments'][value].amount_auth, 40000.0) 1430 # Payment session and will be calculated as defined 1431 # in w.k.students.utils because we set changed the state 1432 # to returning 1430 1433 self.assertEqual(self.student['payments'][value].p_session, 2005) 1431 1434 self.assertEqual(self.student['payments'][value].p_level, 200) … … 1453 1456 1454 1457 # The new SFE-0 pin can be used for starting course registration 1455 IWorkflowInfo(self.student).fireTransition('request_clearance')1456 IWorkflowInfo(self.student).fireTransition('clear')1457 1458 self.browser.open(self.studycourse_path) 1458 1459 self.browser.getLink('Start course registration').click()
Note: See TracChangeset for help on using the changeset viewer.