Changeset 8804


Ignore:
Timestamp:
26 Jun 2012, 07:31:00 (12 years ago)
Author:
Henrik Bettermann
Message:

Adjust test.

File:
1 edited

Legend:

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

    r8761 r8804  
    336336        # into two parts.
    337337        self.assertTrue(
    338             'applicant_id,application_date,application_number,course1,course2,'
     338            'aggregate,applicant_id,application_date,application_number,course1,course2,'
    339339            'course_admitted,date_of_birth,display_fullname,email,emp2_end,'
    340340            'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,'
     
    344344            'nationality,notice,nysc_lga,'
    345345            'nysc_year,password,perm_address,phone,pp_school,presently_inst,'
    346             'reg_number,screening_date,screening_score,screening_venue,sex,'
     346            'reg_number,result_uploaded,screening_date,screening_score,screening_venue,sex,'
    347347            'state,student_id,'
    348348            'container_code'
     
    351351            'Application initialized by system\'],,,,,,,,,Tester,,0,M.,,'
    352352            '"Some notice\nin lines.",,,any password,,+234-123-12345,,,'
    353             '123456,"Saturday, 16th June 2012 2:00:00 PM",98,Exam Room,f,'
    354             'initialized,,dp2011' in result)
    355         # We can import the same file with if we ignore some columns.
     353            '123456,,"Saturday, 16th June 2012 2:00:00 PM",98,Exam Room,f,'
     354            'initialized,,dp2011'
     355            in result)
     356        # We can import the same file if we ignore some columns.
    356357        # Since the applicants_catalog hasn't been notified, the same
    357358        # record with same reg_number can be imported twice.
     
    359360        result = processor.doImport(
    360361            self.outfile,
    361             ['ignore_applicant_id','application_date','ignore_application_number',
    362             'course1','course2',
     362            ['aggreagate','ignore_applicant_id','application_date',
     363            'ignore_application_number','course1','course2',
    363364            'course_admitted','date_of_birth','ignore3','email','emp2_end',
    364365            'emp2_position','emp2_reason','emp2_start','emp_end','emp_position',
     
    368369            'nationality','notice','nysc_lga',
    369370            'nysc_year','password','perm_address','phone','pp_school','presently_inst',
    370             'reg_number','screening_date','screening_score','screening_venue','sex',
     371            'reg_number','result_uploaded',
     372            'screening_date','screening_score','screening_venue','sex',
    371373            'state','student_id','container_code'],
    372374            mode='create')
     
    382384        result = processor.doImport(
    383385            self.outfile,
    384             ['ignore_applicant_id','application_date','ignore_application_number',
    385             'course1','course2',
     386            ['aggregate','ignore_applicant_id','application_date',
     387            'ignore_application_number','course1','course2',
    386388            'course_admitted','date_of_birth','ignore3','email','emp2_end',
    387389            'emp2_position','emp2_reason','emp2_start','emp_end','emp_position',
     
    391393            'nationality','notice','nysc_lga',
    392394            'nysc_year','password','perm_address','phone','pp_school','presently_inst',
    393             'reg_number','screening_date','screening_score','screening_venue','sex',
     395            'reg_number','result_uploaded','screening_date','screening_score',
     396            'screening_venue','sex',
    394397            'state','student_id','ignore_container_code'],
    395398            mode='update')
Note: See TracChangeset for help on using the changeset viewer.