Ignore:
Timestamp:
25 Oct 2012, 22:45:08 (12 years ago)
Author:
Henrik Bettermann
Message:

Let's add at least one successful row with imported level_session. checkConversion had to be fixed because level_session was a string.

File:
1 edited

Legend:

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

    r9420 r9421  
    743743            '1,COURSE1,,200,2004,6,,level_session: does not match 2008\r\n'
    744744            '1,COURSE1,,300,2008,6,,level: does not exist\r\n'
    745             '1,COURSE1,,300,200888,6,,level_session: Invalid value; level: does not exist\r\n')
     745            '1,COURSE1,,300,2008X,6,,level_session: Invalid value\r\n')
    746746        assert self.processor.entryExists(
    747747            dict(reg_number='1', level='100', code='COURSE1'),
     
    786786            '1,COURSE1,<IGNORE>,200,2004,6,<IGNORE>,level_session: does not match 2008\r\n'
    787787            '1,COURSE1,<IGNORE>,300,2008,6,<IGNORE>,level: does not exist\r\n'
    788             '1,COURSE1,<IGNORE>,300,200888,6,<IGNORE>,level_session: Invalid value; level: does not exist\r\n')
     788            '1,COURSE1,<IGNORE>,300,2008X,6,<IGNORE>,level_session: Invalid value\r\n')
    789789        shutil.rmtree(os.path.dirname(fin_file))
    790790
Note: See TracChangeset for help on using the changeset viewer.