Changeset 11482 for main/waeup.kofa/trunk/src
- Timestamp:
- 11 Mar 2014, 09:10:47 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r11437 r11482 843 843 """ 844 844 allowed_transitions = [t for t in self.wf_info.getManualTransitions() 845 if not t[0] == 'pay']845 if not t[0] in ('pay', 'create')] 846 846 return [dict(name='', title=_('No transition'))] +[ 847 847 dict(name=x, title=y) for x, y in allowed_transitions] -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicantcopier.py
r10647 r11482 78 78 self.app['faculties']['fac1']['dep1'].certificates.addCertificate( 79 79 self.certificate) 80 # Managers are not allowed to trigger the create transition manually 81 self.assertFalse('<option value="create">' in self.browser.contents) 82 # Student can be created 80 83 (success, msg) = self.applicant.createStudent() 81 84 self.assertTrue('created' in msg)
Note: See TracChangeset for help on using the changeset viewer.