Changeset 14428 for main


Ignore:
Timestamp:
21 Jan 2017, 16:19:42 (8 years ago)
Author:
Henrik Bettermann
Message:

If there is no outstanding results (course w/o results) return NIL

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students
Files:
2 edited

Legend:

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

    r14425 r14428  
    3030        result = get_students('fac1', 'dep1', 'CERT1', 2010, 100)
    3131        self.assertEqual(result,
    32             [(u'1234', u'TESTER, Bob', 30, 30, '5.000', 'NIL', '', 30, 30, '5.000', 'Proceed')])
     32            [(u'1234', u'TESTER, Bob', 30, 30, '5.000',
     33               'NIL', 'NIL', 30, 30, '5.000', 'Proceed')])
    3334        return
    3435
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r14417 r14428  
    109109        if not len(courses_failed):
    110110            courses_failed = 'NIL'
     111        if not len(courses_not_taken):
     112            courses_not_taken = 'NIL'
    111113        return (passed, failed, credits_passed,
    112114                credits_failed, courses_failed,
Note: See TracChangeset for help on using the changeset viewer.