Ignore:
Timestamp:
15 Feb 2017, 07:37:13 (8 years ago)
Author:
Henrik Bettermann
Message:

Update test.

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/sample_student_data_update3.csv

    r9284 r14553  
    1 student_id,reg_number,transition
    2 X666666,,request_clearance
    3 Y777777,,return
    4 ,3,return
    5 ,4,register_courses
     1student_id,reg_number,transition,firstname
     2X666666,,request_clearance,
     3Y777777,,return,
     4,3,return,
     5,4,register_courses,
     6X666666,,,XXX
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py

    r14366 r14553  
    481481        self.assertEqual(
    482482            content,
    483             'reg_number,student_id,transition,--ERRORS--\r\n'
    484             '<IGNORE>,X666666,request_clearance,Transition not allowed.\r\n'
     483            'reg_number,student_id,transition,firstname,--ERRORS--\r\n'
     484            '<IGNORE>,X666666,request_clearance,<IGNORE>,Transition not allowed.\r\n'
     485            '<IGNORE>,X666666,<IGNORE>,XXX,RequiredMissing: firstname\r\n'
    485486            )
    486         self.assertEqual(num_warns,1)
     487        self.assertEqual(num_warns,2)
    487488        self.assertEqual(self.app['students']['Y777777'].state,'returning')
    488489
Note: See TracChangeset for help on using the changeset viewer.