Changeset 8850 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 29 Jun 2012, 14:49:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/mandates/tests.py
r8849 r8850 89 89 # Add and execute a mandate with missing parameters. 90 90 mandate = StudentPasswordMandate() 91 mandate.category = 'student_password'92 91 self.app['mandates'].addMandate(mandate) 93 92 msg = mandate.execute() … … 95 94 # Add and execute an expired mandate. 96 95 mandate = StudentPasswordMandate(days=0) 97 mandate.category = 'student_password'98 96 self.app['mandates'].addMandate(mandate) 99 97 msg = mandate.execute() … … 101 99 # Add and execute a perfect mandate 102 100 mandate = StudentPasswordMandate() 103 mandate.category = 'student_password'104 101 mandate.params['student_id'] = student.student_id 105 102 mandate.params['password'] = 'mypwd1' … … 129 126 self.app['students'].addStudent(student) 130 127 mandate = StudentPasswordMandate() 131 mandate.category = 'student_password'132 128 mandate.params['student_id'] = student.student_id 133 129 mandate.params['password'] = 'mypwd1'
Note: See TracChangeset for help on using the changeset viewer.