Changeset 7867
- Timestamp:
- 13 Mar 2012, 07:17:49 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r7844 r7867 496 496 497 497 class IApplicantEdit(IApplicantProcessData): 498 """An applicant .498 """An applicant interface for editing. 499 499 500 500 Here we can repeat the fields from base data and set the -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_batching.py
r7811 r7867 243 243 self.csv_file, APPLICANT_HEADER_FIELDS) 244 244 self.assertEqual(num_warns,0) 245 assert len(self.app['applicants']['dp2011'].keys()) == 4 245 keys = self.app['applicants']['dp2011'].keys() 246 assert len(keys) == 4 247 container = self.app['applicants']['dp2011'] 248 assert container.__implemented__.__name__ == ( 249 'waeup.kofa.applicants.container.ApplicantsContainer') 250 applicant = container[keys[0]] 251 assert applicant.__implemented__.__name__ == ( 252 'waeup.kofa.applicants.applicant.Applicant') 246 253 shutil.rmtree(os.path.dirname(fin_file)) 247 254
Note: See TracChangeset for help on using the changeset viewer.