Ignore:
Timestamp:
19 Jun 2019, 07:24:30 (6 years ago)
Author:
Henrik Bettermann
Message:

Make course2 and course3 selection compulsory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py

    r15455 r15462  
    6262        self.app['faculties']['fac1']['dep1'].certificates.addCertificate(
    6363            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)
    6470        configuration = SessionConfiguration()
    6571        configuration.academic_session = session_1
     
    6975        self.browser.open(self.edit_path)
    7076        self.browser.getControl(name="form.course2").value = ['CERT2']
     77        self.browser.getControl(name="form.course3").value = ['CERT3']
    7178        self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'
    7279        self.browser.getControl(name="form.email").value = 'xx@yy.zz'
Note: See TracChangeset for help on using the changeset viewer.