Ignore:
Timestamp:
12 Jul 2012, 11:43:12 (12 years ago)
Author:
Henrik Bettermann
Message:

Add boolean field 'suspended' to IStudent and IApplicant and extend authentication (checkPassword) slightly. Test will follow

File:
1 edited

Legend:

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

    r8724 r8983  
    145145            'history,lastname,locked,middlename,notice,password,phone,'
    146146            'reg_number,screening_score,screening_venue,sex,state,'
    147             'student_id,container_code\r\n'
     147            'student_id,suspended,container_code\r\n'
    148148            'dp2011_654321,,654321,,,,,Anna Tester,,Anna,'
    149149            in result)
    150150        self.assertTrue(
    151151            'Application initialized by system\'],Tester,'
    152             '0,,,,,,,,,initialized,,dp2011\r\n'
     152            '0,,,,,,,,,initialized,,0,dp2011\r\n'
    153153            in result)
    154154        return
     
    169169            'history,lastname,locked,middlename,notice,password,phone,'
    170170            'reg_number,screening_score,screening_venue,sex,state,'
    171             'student_id,container_code\r\n'
     171            'student_id,suspended,container_code\r\n'
    172172            'dp2011_654321,,654321,CERT1,CERT1,CERT1,1981-02-04#,'
    173173            'Anna M. Tester,anna@sample.com,Anna,'
     
    176176            'Application initialized by system\'],'
    177177            'Tester,0,M.,"Some notice\nin lines.",any password,'
    178             '+234-123-12345,123456,98,Exam Room,f,initialized,,dp2011\r\n'
     178            '+234-123-12345,123456,98,Exam Room,f,initialized,,0,dp2011\r\n'
    179179            in result)
    180180
     
    193193            'history,lastname,locked,middlename,notice,password,phone,'
    194194            'reg_number,screening_score,screening_venue,sex,state,'
    195             'student_id,container_code\r\n'
     195            'student_id,suspended,container_code\r\n'
    196196            'dp2011_654321,,654321,CERT1,CERT1,CERT1,1981-02-04#,'
    197197            'Anna M. Tester,anna@sample.com,Anna,'
     
    200200            'Application initialized by system\'],'
    201201            'Tester,0,M.,"Some notice\nin lines.",any password,'
    202             '+234-123-12345,123456,98,Exam Room,f,initialized,,dp2011\r\n'
    203             in result)
    204         return
     202            '+234-123-12345,123456,98,Exam Room,f,initialized,,0,dp2011\r\n'
     203            in result)
     204        return
Note: See TracChangeset for help on using the changeset viewer.