Changeset 15462 for main/waeup.aaue/trunk
- Timestamp:
- 19 Jun 2019, 07:24:30 (5 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py
r15459 r15462 837 837 ) 838 838 839 course1 = schema.Choice( 840 title = _(u'1st Choice Course of Study'), 841 source = AppCatCertificateSource(), 842 required = True, 843 ) 844 845 course2 = schema.Choice( 846 title = _(u'2nd Choice Course of Study'), 847 source = AppCatCertificateSource(), 848 required = True, 849 ) 850 851 course3 = schema.Choice( 852 title = _(u'3rd Choice Course of Study'), 853 source = AppCatCertificateSource(), 854 required = True, 855 ) 856 839 857 fst_sit_fname = schema.TextLine( 840 858 title = _(u'Full Name'), … … 888 906 ICustomUGApplicantEdit['date_of_birth'].order = ICustomUGApplicant[ 889 907 'date_of_birth'].order 908 ICustomUGApplicantEdit['course1'].order = ICustomUGApplicant[ 909 'course1'].order 910 ICustomUGApplicantEdit['course2'].order = ICustomUGApplicant[ 911 'course2'].order 912 ICustomUGApplicantEdit['course3'].order = ICustomUGApplicant[ 913 'course3'].order 890 914 ICustomUGApplicantEdit['fst_sit_fname'].order = ICustomUGApplicant[ 891 915 'fst_sit_fname'].order -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py
r15455 r15462 62 62 self.app['faculties']['fac1']['dep1'].certificates.addCertificate( 63 63 certificate) 64 certificate = createObject('waeup.Certificate') 65 certificate.code = 'CERT3' 66 certificate.title = 'New Certificate 2' 67 certificate.application_category = 'basic' 68 self.app['faculties']['fac1']['dep1'].certificates.addCertificate( 69 certificate) 64 70 configuration = SessionConfiguration() 65 71 configuration.academic_session = session_1 … … 69 75 self.browser.open(self.edit_path) 70 76 self.browser.getControl(name="form.course2").value = ['CERT2'] 77 self.browser.getControl(name="form.course3").value = ['CERT3'] 71 78 self.browser.getControl(name="form.date_of_birth").value = '09/09/1988' 72 79 self.browser.getControl(name="form.email").value = 'xx@yy.zz'
Note: See TracChangeset for help on using the changeset viewer.