Ignore:
Timestamp:
4 Jun 2012, 09:59:21 (13 years ago)
Author:
Henrik Bettermann
Message:

Replace default value of verdicts. Use 'NY' (not yet) instead of '0' (zero).

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

Legend:

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

    r8596 r8621  
    745745        self.assertEqual(student['studycourse'].current_session, 2005) # +1
    746746        self.assertEqual(student['studycourse'].current_level, 200) # +100
    747         self.assertEqual(student['studycourse'].current_verdict, '0') # 0 = not set
     747        self.assertEqual(student['studycourse'].current_verdict, 'NY') # NY = not set
    748748        self.assertEqual(student['studycourse'].previous_verdict, 'A')
    749749        self.browser.getControl(name="transition").value = ['register_courses']
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r8494 r8621  
    127127            'entry_mode,entry_session,previous_verdict,student_id\r\n'
    128128
    129             ',,,0,,,0,\r\n'
     129            ',,,NY,,,NY,\r\n'
    130130            )
    131131        return
     
    144144            'entry_mode,entry_session,previous_verdict,student_id\r\n'
    145145
    146             'CERT1,200,2012,0,ug_ft,2010,0,A111111\r\n'
     146            'CERT1,200,2012,NY,ug_ft,2010,NY,A111111\r\n'
    147147            )
    148148        return
     
    160160            'entry_mode,entry_session,previous_verdict,student_id\r\n'
    161161
    162             'CERT1,200,2012,0,ug_ft,2010,0,A111111\r\n'
     162            'CERT1,200,2012,NY,ug_ft,2010,NY,A111111\r\n'
    163163            )
    164164        return
     
    175175            'entry_mode,entry_session,previous_verdict,student_id\r\n'
    176176
    177             'CERT1,200,2012,0,ug_ft,2010,0,A111111\r\n'
     177            'CERT1,200,2012,NY,ug_ft,2010,NY,A111111\r\n'
    178178            )
    179179        return
     
    210210            result,
    211211            'level,level_session,level_verdict,student_id\r\n'
    212             ',,0,\r\n'
     212            ',,NY,\r\n'
    213213            )
    214214        return
Note: See TracChangeset for help on using the changeset viewer.