Changeset 8804
- Timestamp:
- 26 Jun 2012, 07:31:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests.py
r8761 r8804 336 336 # into two parts. 337 337 self.assertTrue( 338 'a pplicant_id,application_date,application_number,course1,course2,'338 'aggregate,applicant_id,application_date,application_number,course1,course2,' 339 339 'course_admitted,date_of_birth,display_fullname,email,emp2_end,' 340 340 'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,' … … 344 344 'nationality,notice,nysc_lga,' 345 345 '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,' 347 347 'state,student_id,' 348 348 'container_code' … … 351 351 'Application initialized by system\'],,,,,,,,,Tester,,0,M.,,' 352 352 '"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. 356 357 # Since the applicants_catalog hasn't been notified, the same 357 358 # record with same reg_number can be imported twice. … … 359 360 result = processor.doImport( 360 361 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', 363 364 'course_admitted','date_of_birth','ignore3','email','emp2_end', 364 365 'emp2_position','emp2_reason','emp2_start','emp_end','emp_position', … … 368 369 'nationality','notice','nysc_lga', 369 370 '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', 371 373 'state','student_id','container_code'], 372 374 mode='create') … … 382 384 result = processor.doImport( 383 385 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', 386 388 'course_admitted','date_of_birth','ignore3','email','emp2_end', 387 389 'emp2_position','emp2_reason','emp2_start','emp_end','emp_position', … … 391 393 'nationality','notice','nysc_lga', 392 394 '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', 394 397 'state','student_id','ignore_container_code'], 395 398 mode='update')
Note: See TracChangeset for help on using the changeset viewer.