Ignore:
Timestamp:
24 Feb 2017, 06:53:41 (8 years ago)
Author:
Henrik Bettermann
Message:

Replace maxCreditsExceeded by warnCreditsOOR.

File:
1 edited

Legend:

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

    r14582 r14584  
    824824        self.browser.getControl("Add course ticket").click()
    825825        self.assertMatches(
    826             '...Total credits exceeded...', self.browser.contents)
     826            '...Maximum credits exceeded...', self.browser.contents)
    827827        self.course.credits = 10
    828828        self.browser.getControl("Add course ticket").click()
     
    25102510        self.browser.getControl("Add course ticket").click()
    25112511        self.assertMatches(
    2512             '...Total credits exceeded...', self.browser.contents)
     2512            '...Maximum credits exceeded...', self.browser.contents)
    25132513        self.course.credits = 10
    25142514        self.browser.getControl("Add course ticket").click()
     
    26052605        # Carryover COURSE1 in level 200 already has 10 credits
    26062606        self.assertMatches(
    2607             '...Total credits exceeded...', self.browser.contents)
     2607            '...Maximum credits exceeded...', self.browser.contents)
    26082608        # If COURSE1 is outstanding, its credits won't be considered
    26092609        self.student['studycourse']['200']['COURSE1'].outstanding = True
Note: See TracChangeset for help on using the changeset viewer.