Ignore:
Timestamp:
16 Feb 2022, 15:50:47 (3 years ago)
Author:
Henrik Bettermann
Message:

Add 'Modules Level'.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students/tests
Files:
3 edited

Legend:

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

    r16012 r16812  
    794794        errs, inv_errs, conv_dict = self.processor.checkConversion(
    795795            dict(reg_number='1', level='1000'))
     796        self.assertEqual(len(errs),0)
     797        errs, inv_errs, conv_dict = self.processor.checkConversion(
     798            dict(reg_number='1', level='1100'))
    796799        self.assertEqual(len(errs),1)
    797800        self.assertTrue(('level', u'Invalid value') in errs)
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r16800 r16812  
    15701570             'entry_session,current_level,current_session,'
    15711571             '0,10,100,110,120,200,210,220,300,310,320,400,410,420,500,'
    1572              '510,520,600,610,620,700,710,720,800,810,820,900,910,920,999\r\n'
     1572             '510,520,600,610,620,700,710,720,800,810,820,900,910,920,999,1000\r\n'
    15731573             'A111111,created,CERT1,NA,NA,0,2010,200,2012,,,2012'
    1574              ',,,,,,,,,,,,,,,,,,,,,,,,,,,\r\n',
     1574             ',,,,,,,,,,,,,,,,,,,,,,,,,,,,\r\n',
    15751575            result
    15761576            )
     
    15861586            'entry_session,current_level,current_session,'
    15871587            '0,10,100,110,120,200,210,220,300,310,320,400,410,420,500,'
    1588             '510,520,600,610,620,700,710,720,800,810,820,900,910,920,999\r\n'
     1588            '510,520,600,610,620,700,710,720,800,810,820,900,910,920,999,1000\r\n'
    15891589            'A111111,created,CERT1,NA,NA,0,2010,200,2012,,,2012'
    1590             ',,,,,,,,,,,,,,,,,,,,,,,,,,,\r\n',
     1590            ',,,,,,,,,,,,,,,,,,,,,,,,,,,,\r\n',
    15911591            result
    15921592            )
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_vocabularies.py

    r15446 r16812  
    3131             100, 110, 120, 200, 210, 220, 300, 310, 320, 400, 410, 420,
    3232             500, 510, 520, 600, 610, 620, 700, 710, 720, 800, 810, 820,
    33              900, 910, 920, 999,])
     33             900, 910, 920, 999, 1000,])
    3434        # edge-case: level 10
    3535        self.assertEqual(
Note: See TracChangeset for help on using the changeset viewer.