Changeset 16872
- Timestamp:
- 9 Mar 2022, 20:53:31 (3 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/export.py
r16426 r16872 56 56 except: 57 57 pass 58 if name == 'subj_comb' and value is not None: 59 value = value.code 58 60 return super( 59 61 CustomApplicantExporter, self).mangle_value( -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py
r16867 r16872 155 155 ) 156 156 157 #subj_comb = schema.TextLine(158 # title = _(u'Subject Combination'),159 # required = False,160 # readonly = False,161 # )162 163 157 subj_comb = schema.Choice( 164 158 title = _(u'Subject Combination'), -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/tests/test_browser.py
r16863 r16872 96 96 self.tpucontainer.code = u'tpu%s' % session 97 97 self.tpucontainer.prefix = u'tpu' 98 self.tpucontainer.application_category = u' tpu'98 self.tpucontainer.application_category = u'basic' 99 99 self.tpucontainer.year = session 100 100 self.tpucontainer.application_fee = 300.0 … … 192 192 193 193 def test_final_submit_tpu(self): 194 self.certificate.application_category = ' tpu'194 self.certificate.application_category = 'basic' 195 195 self.certificate.title = 'NCECert1' 196 196 notify(grok.ObjectModifiedEvent(self.certificate)) … … 236 236 certificate.code = 'CERT2' 237 237 certificate.title = 'NCECert2' 238 certificate.application_category = ' tpu'238 certificate.application_category = 'basic' 239 239 certificate.start_level = 100 240 240 certificate.end_level = 500 … … 265 265 self.assertEqual(self.tpuapplicant.state, 'submitted') 266 266 return 267
Note: See TracChangeset for help on using the changeset viewer.