[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Workflow/tests - __init__.py:1.1.2.1 testWorkflowActionCreated.py:1.1.2.1

Tres Seaver tseaver@zope.com
Tue, 5 Mar 2002 04:30:22 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Workflow/tests
In directory cvs.zope.org:/tmp/cvs-serv26659/tests

Added Files:
      Tag: Zope-3x-branch
	__init__.py testWorkflowActionCreated.py 
Log Message:


  - Add initial cut at Workflow events.


=== Added File Zope3/lib/python/Zope/App/Workflow/tests/__init__.py ===
"placeholder"


=== Added File Zope3/lib/python/Zope/App/Workflow/tests/testWorkflowActionCreated.py ===
import unittest

class WorkflowActionCreatedTests( unittest.TestCase ):

    def testInterface( self ):
        from Zope.App.Workflow.IWorkflowEvents import IWorkflowEvent
        from Zope.App.Workflow.IWorkflowEvents \
            import IWorkflowActionCreatedEvent
        from Zope.App.Workflow.WorkflowEvents import WorkflowActionCreatedEvent
        from Interface import verify

        verify( IWorkflowEvent, WorkflowActionCreatedEvent )
        verify( IWorkflowActionCreatedEvent, WorkflowActionCreatedEvent )


if __name__ == '__main__':
    unittest.main()