Changeset 8069 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 9 Apr 2012, 06:34:38 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r8052 r8069 34 34 from waeup.kofa.payments.interfaces import IOnlinePayment 35 35 from waeup.kofa.schoolgrades import ResultEntryField 36 from waeup.kofa.students.vocabularies import ( 37 lgas_vocab, GenderSource) 36 from waeup.kofa.students.vocabularies import GenderSource 38 37 from waeup.kofa.university.vocabularies import ( 39 38 course_levels, AppCatSource, CertificateSource) … … 343 342 required = True, 344 343 ) 345 lga = schema.Choice(346 source = lgas_vocab,347 title = _(u'State/LGA'),348 default = 'foreigner',349 required = False,350 )351 344 sex = schema.Choice( 352 345 title = _(u'Sex'), -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8048 r8069 157 157 self.browser.getControl(name="form.course1").value = ['CERT1'] 158 158 self.browser.getControl(name="form.date_of_birth").value = '09/09/1988' 159 self.browser.getControl(name="form.lga").value = ['foreigner']160 159 self.browser.getControl(name="form.sex").value = ['m'] 161 160 self.browser.getControl(name="form.email").value = 'xx@yy.zz' -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py
r8057 r8069 140 140 'applicant_id,application_date,application_number,course1,course2,' 141 141 'course_admitted,date_of_birth,display_fullname,email,firstname,' 142 'history,lastname,l ga,locked,middlename,notice,password,phone,'142 'history,lastname,locked,middlename,notice,password,phone,' 143 143 'reg_number,screening_score,screening_venue,sex,state,' 144 144 'student_id\r\n' … … 147 147 self.assertTrue( 148 148 'Application initialized by system\'],Tester,' 149 ' foreigner,0,,,,,,,,,initialized,\r\n'149 '0,,,,,,,,,initialized,\r\n' 150 150 in result) 151 151 return … … 164 164 'applicant_id,application_date,application_number,course1,course2,' 165 165 'course_admitted,date_of_birth,display_fullname,email,firstname,' 166 'history,lastname,l ga,locked,middlename,notice,password,phone,'166 'history,lastname,locked,middlename,notice,password,phone,' 167 167 'reg_number,screening_score,screening_venue,sex,state,' 168 168 'student_id\r\n' … … 172 172 self.assertTrue( 173 173 'Application initialized by system\'],' 174 'Tester, foreigner,0,M.,"Some notice\nin lines.",any password,'174 'Tester,0,M.,"Some notice\nin lines.",any password,' 175 175 '+234-123-12345,123456,98,Exam Room,f,initialized,\r\n' 176 176 in result) … … 188 188 'applicant_id,application_date,application_number,course1,course2,' 189 189 'course_admitted,date_of_birth,display_fullname,email,firstname,' 190 'history,lastname,l ga,locked,middlename,notice,password,phone,'190 'history,lastname,locked,middlename,notice,password,phone,' 191 191 'reg_number,screening_score,screening_venue,sex,state,' 192 192 'student_id\r\n' … … 196 196 self.assertTrue( 197 197 'Application initialized by system\'],' 198 'Tester, foreigner,0,M.,"Some notice\nin lines.",any password,'198 'Tester,0,M.,"Some notice\nin lines.",any password,' 199 199 '+234-123-12345,123456,98,Exam Room,f,initialized,\r\n' 200 200 in result)
Note: See TracChangeset for help on using the changeset viewer.