Ignore:
Timestamp:
10 Jan 2013, 12:07:54 (12 years ago)
Author:
Henrik Bettermann
Message:

Adjust tests.

File:
1 edited

Legend:

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

    r9847 r9861  
    503503        self.assertEqual(
    504504            result,
    505             'automatic,carry_over,code,credits,dcode,fcode,level,mandatory,'
    506             'passmark,score,semester,title,student_id,certcode\r\n'
    507             '0,0,,,,,,0,,,,,,\r\n'
     505            'automatic,carry_over,code,credits,dcode,fcode,level,level_session,'
     506            'mandatory,passmark,score,semester,title,student_id,certcode\r\n'
     507            '0,0,,,,,,,0,,,,,,\r\n'
    508508            )
    509509        return
     
    521521        self.assertEqual(
    522522            result,
    523             'automatic,carry_over,code,credits,dcode,fcode,level,mandatory,'
    524             'passmark,score,semester,title,student_id,certcode\r\n'
    525             '1,1,CRS1,100,DEP1,FAC1,100,0,100,,2,Course 1,A111111,CERT1\r\n'
     523            'automatic,carry_over,code,credits,dcode,fcode,level,level_session,'
     524            'mandatory,passmark,score,semester,title,student_id,certcode\r\n'
     525            '1,1,CRS1,100,DEP1,FAC1,100,2012,0,100,,2,Course 1,A111111,CERT1\r\n'
    526526            )
    527527        return
     
    536536        self.assertEqual(
    537537            result,
    538             'automatic,carry_over,code,credits,dcode,fcode,level,mandatory,'
    539             'passmark,score,semester,title,student_id,certcode\r\n'
    540             '1,1,CRS1,100,DEP1,FAC1,100,0,100,,2,Course 1,A111111,CERT1\r\n'
     538            'automatic,carry_over,code,credits,dcode,fcode,level,level_session,'
     539            'mandatory,passmark,score,semester,title,student_id,certcode\r\n'
     540            '1,1,CRS1,100,DEP1,FAC1,100,2012,0,100,,2,Course 1,A111111,CERT1\r\n'
    541541            )
    542542        return
     
    550550        self.assertEqual(
    551551            result,
    552             'automatic,carry_over,code,credits,dcode,fcode,level,mandatory,'
    553             'passmark,score,semester,title,student_id,certcode\r\n'
    554             '1,1,CRS1,100,DEP1,FAC1,100,0,100,,2,Course 1,A111111,CERT1\r\n'
     552            'automatic,carry_over,code,credits,dcode,fcode,level,level_session,'
     553            'mandatory,passmark,score,semester,title,student_id,certcode\r\n'
     554            '1,1,CRS1,100,DEP1,FAC1,100,2012,0,100,,2,Course 1,A111111,CERT1\r\n'
    555555            )
    556556        return
     
    568568        self.assertEqual(
    569569            result,
    570             'automatic,carry_over,code,credits,dcode,fcode,level,mandatory,'
    571             'passmark,score,semester,title,student_id,certcode\r\n'
    572             '1,1,CRS1,100,DEP1,FAC1,100,0,100,,2,Course 1,A111111,CERT1\r\n'
     570            'automatic,carry_over,code,credits,dcode,fcode,level,level_session,'
     571            'mandatory,passmark,score,semester,title,student_id,certcode\r\n'
     572            '1,1,CRS1,100,DEP1,FAC1,100,2012,0,100,,2,Course 1,A111111,CERT1\r\n'
    573573            )
    574574        # if the coursetickets catalog is used to filter students
     
    580580        self.assertEqual(
    581581            result,
    582             'automatic,carry_over,code,credits,dcode,fcode,level,mandatory,'
    583             'passmark,score,semester,title,student_id,certcode\r\n'
    584             '1,1,CRS1,100,DEP1,FAC1,100,0,100,,2,Course 1,A111111,CERT1\r\n'
     582            'automatic,carry_over,code,credits,dcode,fcode,level,level_session,'
     583            'mandatory,passmark,score,semester,title,student_id,certcode\r\n'
     584            '1,1,CRS1,100,DEP1,FAC1,100,2012,0,100,,2,Course 1,A111111,CERT1\r\n'
    585585            )
    586586        exporter.export_filtered(
     
    589589        self.assertEqual(
    590590            result,
    591             'automatic,carry_over,code,credits,dcode,fcode,level,mandatory,'
    592             'passmark,score,semester,title,student_id,certcode\r\n'
     591            'automatic,carry_over,code,credits,dcode,fcode,level,level_session,'
     592            'mandatory,passmark,score,semester,title,student_id,certcode\r\n'
    593593            )
    594594        return
Note: See TracChangeset for help on using the changeset viewer.