Changeset 15027 for main/waeup.fceokene
- Timestamp:
- 28 May 2018, 07:16:26 (6 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/browser.py
r14499 r15027 206 206 and appl.school1 == self.context.school1: 207 207 counter += 1 208 if counter == 20:208 if counter == 10: 209 209 return True 210 210 return False -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py
r14499 r15027 159 159 ) 160 160 161 school2 = schema.Choice(162 title = _(u'2nd Choice TPZ and School'),163 source = SchoolSource(),164 required = False,165 )166 167 school3 = schema.Choice(168 title = _(u'3rd Choice TPZ and School'),169 source = SchoolSource(),170 required = False,171 )161 #school2 = schema.Choice( 162 # title = _(u'2nd Choice TPZ and School'), 163 # source = SchoolSource(), 164 # required = False, 165 # ) 166 167 #school3 = schema.Choice( 168 # title = _(u'3rd Choice TPZ and School'), 169 # source = SchoolSource(), 170 # required = False, 171 # ) 172 172 173 173 class ICustomUGApplicant(INigeriaUGApplicant): -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/tests/test_browser.py
r14499 r15027 210 210 'Application submitted' in self.browser.contents) 211 211 # Create 20 applicants who already selected s0010 212 for i in range(1, 21):212 for i in range(1,11): 213 213 tpuapplicant = createObject(u'waeup.Applicant') 214 214 tpuapplicant.firstname = u'John'
Note: See TracChangeset for help on using the changeset viewer.