Ignore:
Timestamp:
29 Apr 2012, 06:51:19 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove school fee from session configuration. School fees are now attributes of the certificates.

Adjust and improve tests.

Fix getPaymentDetails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r8305 r8307  
    14141414                           self.browser.contents)
    14151415
    1416         # Students can add online school fee payment tickets
     1416        # Students can add online school fee payment tickets.
     1417        IWorkflowState(self.student).setState('returning')
    14171418        self.browser.open(self.payments_path)
    14181419        self.browser.getControl("Add online payment ticket").click()
     
    14261427        self.assertMatches('...Amount Authorized...',
    14271428                           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
    14301433        self.assertEqual(self.student['payments'][value].p_session, 2005)
    14311434        self.assertEqual(self.student['payments'][value].p_level, 200)
     
    14531456
    14541457        # 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')
    14571458        self.browser.open(self.studycourse_path)
    14581459        self.browser.getLink('Start course registration').click()
Note: See TracChangeset for help on using the changeset viewer.