Ignore:
Timestamp:
31 Jan 2017, 09:23:06 (8 years ago)
Author:
Henrik Bettermann
Message:

Adjust test.

File:
1 edited

Legend:

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

    r14453 r14478  
    133133        studylevel.level = 100
    134134        studylevel.level_session = 2005
     135        self.course.passmark = 40
    135136        self.student['studycourse'].entry_mode = 'ug_ft'
    136137        self.student['studycourse'].addStudentStudyLevel(
     
    141142        self.assertEqual(studylevel['COURSE1'].weight, 1)
    142143        self.assertEqual(studylevel['COURSE1'].grade, 'E')
    143         self.student['studycourse'].entry_session = 2015
    144         self.assertEqual(studylevel['COURSE1'].weight, 0)
    145         self.assertEqual(studylevel['COURSE1'].grade, 'F')
     144        self.assertEqual(studylevel['COURSE1'].weight, 1)
     145        self.assertEqual(studylevel['COURSE1'].grade, 'E')
    146146        studylevel['COURSE1'].score = 45
    147147        self.assertEqual(studylevel['COURSE1'].weight, 2)
Note: See TracChangeset for help on using the changeset viewer.