Changeset 8612 for main/waeup.kofa/trunk/src
- Timestamp:
- 3 Jun 2012, 13:22:04 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/sample_faulty_applicant_data.csv
r8609 r8612 2 2 ,dp2011,1001,Aaren,Pieri,01/02/1990,xx@yy.zz,CERT1,m,Claus, 3 3 5678,dp2011,1005,Jim,Knopf,1990-01-06,xx@yy.zz,CERT2,m,, 4 6789,dp2011,1006,Lukas,Knopf,1990-01-07,xx@yy.zz,CERT3,m,, -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_batching.py
r8610 r8612 197 197 self.container = ApplicantsContainer() 198 198 self.container.code = u'dp2011' 199 self.container.application_category = u'basic' 199 200 self.app['applicants']['dp2011'] = self.container 200 201 … … 331 332 'Wrong birthdate of imported applicant ' 332 333 '(1990-01-02, should be: 1990-02-01)') 333 # CERT 2 does not exist.334 self.assertEqual(num_warns, 1)334 # CERT3 does not exist and CERT2 is in wrong category. 335 self.assertEqual(num_warns,2) 335 336 fail_contents = open(fail_file, 'rb').read() 336 337 shutil.rmtree(os.path.dirname(fail_file))
Note: See TracChangeset for help on using the changeset viewer.