Changeset 15455 for main/waeup.aaue/trunk/src/waeup/aaue/etranzact
- Timestamp:
- 15 Jun 2019, 12:30:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/tests.py
r15346 r15455 17 17 ## 18 18 from hurry.workflow.interfaces import IWorkflowState 19 from zope.component import createObject, getUtility 19 20 from waeup.kofa.students.tests.test_browser import StudentsFullSetup 20 21 from waeup.kofa.applicants.tests.test_browser import ( … … 273 274 def setUp(self): 274 275 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) 275 282 self.applicantscontainer.application_fee = 200.0 276 283 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') … … 280 287 self.browser.getControl(name="transition").value = ['start'] 281 288 self.browser.getControl(name="form.nationality").value = ['NG'] 289 self.browser.getControl(name="form.course2").value = ['CERT2'] 282 290 #self.browser.getControl(name="form.programme_type").value = ['direct'] 283 291 self.browser.getControl("Save").click()
Note: See TracChangeset for help on using the changeset viewer.