Ignore:
Timestamp:
4 Nov 2012, 08:04:15 (12 years ago)
Author:
Henrik Bettermann
Message:

Rename is_fresh method. Actually we need to filter students who have not yet paid school fee.

File:
1 edited

Legend:

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

    r9519 r9521  
    21992199        self.assertFalse(self.student['payments'][value].p_current)
    22002200
    2201         # Button and form are not available for fresh students
     2201        # Button and form are not available for students who are in
     2202        # states up to cleared
    22022203        self.student['studycourse'].entry_session = 2004
     2204        IWorkflowState(self.student).setState('cleared')
    22032205        self.browser.open(self.payments_path)
    22042206        self.assertFalse(
     
    22062208        self.browser.open(self.payments_path + '/addpp')
    22072209        self.assertTrue(
    2208             "You can't pay for a session below your entry session" in
    2209             self.browser.contents)
     2210            "No previous payment to be made" in self.browser.contents)
    22102211        return
    22112212
Note: See TracChangeset for help on using the changeset viewer.