Ignore:
Timestamp:
15 Jun 2019, 12:30:51 (6 years ago)
Author:
Henrik Bettermann
Message:

Add course3 field.

File:
1 edited

Legend:

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

    r15346 r15455  
    1717##
    1818from hurry.workflow.interfaces import IWorkflowState
     19from zope.component import createObject, getUtility
    1920from waeup.kofa.students.tests.test_browser import StudentsFullSetup
    2021from waeup.kofa.applicants.tests.test_browser import (
     
    273274    def setUp(self):
    274275        super(EtranzactTestsApplicants, self).setUp()
     276        certificate = createObject('waeup.Certificate')
     277        certificate.code = 'CERT2'
     278        certificate.title = 'New Certificate'
     279        certificate.application_category = 'basic'
     280        self.app['faculties']['fac1']['dep1'].certificates.addCertificate(
     281            certificate)
    275282        self.applicantscontainer.application_fee = 200.0
    276283        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
     
    280287        self.browser.getControl(name="transition").value = ['start']
    281288        self.browser.getControl(name="form.nationality").value = ['NG']
     289        self.browser.getControl(name="form.course2").value = ['CERT2']
    282290        #self.browser.getControl(name="form.programme_type").value = ['direct']
    283291        self.browser.getControl("Save").click()
Note: See TracChangeset for help on using the changeset viewer.