Changeset 16812 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 16 Feb 2022, 15:50:47 (3 years ago)
- 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 794 794 errs, inv_errs, conv_dict = self.processor.checkConversion( 795 795 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')) 796 799 self.assertEqual(len(errs),1) 797 800 self.assertTrue(('level', u'Invalid value') in errs) -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r16800 r16812 1570 1570 'entry_session,current_level,current_session,' 1571 1571 '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' 1573 1573 'A111111,created,CERT1,NA,NA,0,2010,200,2012,,,2012' 1574 ',,,,,,,,,,,,,,,,,,,,,,,,,,, \r\n',1574 ',,,,,,,,,,,,,,,,,,,,,,,,,,,,\r\n', 1575 1575 result 1576 1576 ) … … 1586 1586 'entry_session,current_level,current_session,' 1587 1587 '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' 1589 1589 'A111111,created,CERT1,NA,NA,0,2010,200,2012,,,2012' 1590 ',,,,,,,,,,,,,,,,,,,,,,,,,,, \r\n',1590 ',,,,,,,,,,,,,,,,,,,,,,,,,,,,\r\n', 1591 1591 result 1592 1592 ) -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_vocabularies.py
r15446 r16812 31 31 100, 110, 120, 200, 210, 220, 300, 310, 320, 400, 410, 420, 32 32 500, 510, 520, 600, 610, 620, 700, 710, 720, 800, 810, 820, 33 900, 910, 920, 999, ])33 900, 910, 920, 999, 1000,]) 34 34 # edge-case: level 10 35 35 self.assertEqual(
Note: See TracChangeset for help on using the changeset viewer.