Ignore:
Timestamp:
3 Sep 2013, 06:48:26 (11 years ago)
Author:
Henrik Bettermann
Message:

If no credits have been weighted, do not categorize as 'failed'.

File:
1 edited

Legend:

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

    r10580 r10581  
    4747            [[], [], [], [], [], [], [(u'K1000000', u'1234', u'Bob Tester')]])
    4848        return
     49
     50    def test_get_students_without_scores(self):
     51        self.student['studycourse']['100']['Course1'].score = None
     52        result = get_students('fac1', 'dep1', 2010)
     53        self.assertEqual(result,
     54            [[], [], [], [], [], [], [(u'K1000000', u'1234', u'Bob Tester')]])
    4955
    5056    def test_get_students_without_level_in_session(self):
Note: See TracChangeset for help on using the changeset viewer.