[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Workflow/tests - testWorkflowAction.py:1.1.2.4
Paul Everitt
paul@zope.com
Tue, 5 Mar 2002 05:39:26 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Workflow/tests
In directory cvs.zope.org:/tmp/cvs-serv15781
Modified Files:
Tag: Zope-3x-branch
testWorkflowAction.py
Log Message:
Add suspended events (test, interface, implementation) and merged changes
=== Zope3/lib/python/Zope/App/Workflow/tests/testWorkflowAction.py 1.1.2.3 => 1.1.2.4 ===
verify( IWorkflowActionCreatedEvent, WorkflowActionCreatedEvent )
+class WorkflowActionSuspendedTests( unittest.TestCase ):
+
+ def testInterface(self):
+ from Zope.App.Workflow.IWorkflowEvents import IWorkflowEvent
+ from Zope.App.Workflow.IWorkflowEvents \
+ import IWorkflowActionSuspendedEvent
+ from Zope.App.Workflow.WorkflowEvents \
+ import WorkflowActionSuspendedEvent
+ from Interface import verify
+
+ verify( IWorkflowEvent, WorkflowActionSuspendedEvent )
+ verify( IWorkflowActionSuspendedEvent, WorkflowActionSuspendedEvent )
+
+
class WorkflowActionCompletedEvent(unittest.TestCase):