Changeset 8843 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 27 Jun 2012, 14:01:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicantcopier.py
r8667 r8843 67 67 self.browser.getControl(name="form.course_admitted").value = ['CERT1'] 68 68 self.browser.getControl("Save").click() 69 # Maybe the certificate has meanwhile been removed 70 del self.app['faculties']['fac1']['dep1'].certificates['CERT1'] 71 (success, msg) = self.applicant.createStudent() 72 self.assertFalse(success) 73 self.assertTrue('ConstraintNotSatisfied: CERT1' in msg) 74 # Ok, lets add the certificate and try again 75 self.app['faculties']['fac1']['dep1'].certificates.addCertificate( 76 self.certificate) 69 77 (success, msg) = self.applicant.createStudent() 70 78 self.assertTrue('created' in msg)
Note: See TracChangeset for help on using the changeset viewer.