Changeset 6830
- Timestamp:
- 29 Sep 2011, 07:13:26 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/container.py
r6695 r6830 21 21 from zope.component.interfaces import IFactory 22 22 from zope.securitypolicy.interfaces import IPrincipalRoleManager 23 from hurry.workflow.interfaces import IWorkflowInfo 23 24 from waeup.sirp.interfaces import IUserAccount 24 25 from waeup.sirp.students.interfaces import ( … … 65 66 'waeup.local.StudentRecordOwner', student.student_id) 66 67 # Return student_id (only needed in tests) 68 IWorkflowInfo(self[student.student_id]).fireTransition('create') 67 69 return student.student_id 68 70 -
main/waeup.sirp/trunk/src/waeup/sirp/students/student.py
r6814 r6830 21 21 from zope.component.interfaces import IFactory 22 22 from zope.interface import implementedBy 23 from hurry.workflow.interfaces import IWorkflow Info, IWorkflowState23 from hurry.workflow.interfaces import IWorkflowState 24 24 from waeup.sirp.interfaces import IObjectHistory 25 25 from waeup.sirp.students.interfaces import ( … … 39 39 def __init__(self): 40 40 super(Student, self).__init__() 41 IWorkflowInfo(self).fireTransition('create')42 41 # The site doesn't exist in unit tests 43 42 try: … … 47 46 self.student_id = u'Z654321' 48 47 self.password = None 48 49 49 return 50 50
Note: See TracChangeset for help on using the changeset viewer.