Ignore:
Timestamp:
21 Nov 2012, 22:37:03 (12 years ago)
Author:
Henrik Bettermann
Message:

Rework logging of batch processing. Remove redundant text but add name of import file.

File:
1 edited

Legend:

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

    r9293 r9706  
    304304        # create applicant with given application_number
    305305        self.assertTrue(
    306             'Applicant imported: applicant_id=dp2011_1234, password=mypwd1, '
     306            'Applicant Processor - sample_applicant_data - imported: '
     307            'applicant_id=dp2011_1234, password=mypwd1, '
    307308            'reg_number=1001, firstname=Aaren, middlename=Peter, lastname=Pieri, '
    308309            'sex=m, course1=CERT1, date_of_birth=1990-01-02, email=xx@yy.zz' in
     
    311312        # not shown in the log file
    312313        self.assertTrue(
    313             'Applicant imported: reg_number=1003, firstname=Aaren, '
     314            'Applicant Processor - sample_applicant_data - imported: '
     315            'reg_number=1003, firstname=Aaren, '
    314316            'middlename=Alfons, lastname=Berson, sex=m, course1=CERT1, '
    315317            'date_of_birth=1990-01-04, email=xx@yy.zz' in
     
    369371        # reg_number is locator
    370372        self.assertTrue(
    371             'Applicant updated: reg_number=1001, firstname=Aaren' in
     373            'Applicant Processor - sample_applicant_data_update - updated: '
     374            'reg_number=1001, firstname=Aaren' in
    372375            logcontent)
    373376        # applicant_id is locator
    374377        self.assertTrue(
    375             'Applicant updated: state=admitted, reg_number=6666, '
     378            'Applicant Processor - sample_applicant_data_update - updated: '
     379            'state=admitted, reg_number=6666, '
    376380            'firstname=Alfons, applicant_id=dp2011_2345' in
    377381            logcontent)
Note: See TracChangeset for help on using the changeset viewer.