Ignore:
Timestamp:
23 Feb 2017, 14:22:19 (8 years ago)
Author:
Henrik Bettermann
Message:

Take outstanding courses into consideration.

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

Legend:

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

    r14571 r14576  
    123123        self.assertEqual(
    124124            self.student['studycourse']['100'].cumulative_params[0], 5.4)
    125         self.assertEqual(self.student['studycourse']['100'].gpa, 4.3)
     125        self.assertEqual(self.student['studycourse']['100'].gpa, '4.30')
    126126        self.student['studycourse'].imported_cgpa = 6.6
    127127        self.assertEqual(
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_export.py

    r14442 r14576  
    144144            'validated_by,validation_date,'
    145145            'student_id,matric_number,number_of_tickets,certcode,cgpa\r\n'
    146             '0.0,,,100,2012,A,100,,,,,A111111,234,1,CERT1,0.0\r\n'
     146            '0.00,,,100,2012,A,100,,,,,A111111,234,1,CERT1,0.0\r\n'
    147147            )
    148148        return
     
    167167            result,
    168168            'automatic,ca,carry_over,code,credits,dcode,fcode,level,level_session,'
    169             'mandatory,passmark,score,semester,title,student_id,certcode,'
     169            'mandatory,outstanding,passmark,score,semester,title,student_id,certcode,'
    170170            'display_fullname,matric_number\r\n'
    171             '1,,1,CRS1,100,DEP1,FAC1,100,2012,0,100,,2,Course 1,A111111,CERT1,'
     171            '1,,1,CRS1,100,DEP1,FAC1,100,2012,0,0,100,,2,Course 1,A111111,CERT1,'
    172172            '"TESTER, Anna M.",234\r\n'
    173173            )
Note: See TracChangeset for help on using the changeset viewer.