[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/stateful/tests -
test_definition.py:1.2.24.2
Jim Fulton
jim at zope.com
Mon Sep 15 14:13:12 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/workflow/stateful/tests
In directory cvs.zope.org:/tmp/cvs-serv15511/src/zope/app/workflow/stateful/tests
Modified Files:
Tag: parentgeddon-branch
test_definition.py
Log Message:
Got lots of tests to pass.
Added a setitem helper function to be used to help satisfy container
contracts.
=== Zope3/src/zope/app/workflow/stateful/tests/test_definition.py 1.2.24.1 => 1.2.24.2 ===
--- Zope3/src/zope/app/workflow/stateful/tests/test_definition.py:1.2.24.1 Fri Sep 12 15:15:40 2003
+++ Zope3/src/zope/app/workflow/stateful/tests/test_definition.py Mon Sep 15 14:12:41 2003
@@ -24,7 +24,7 @@
from zope.app.interfaces.workflow.stateful import IStatefulProcessDefinition
from zope.app.workflow.stateful.definition import StatefulProcessDefinition
-
+from zope.app.tests.placelesssetup import PlacelessSetup
class IDummyState(Interface):
"""A really dummy state"""
@@ -50,9 +50,10 @@
# Transition Class/Interface
-class StatefulProcessDefinitionTests(unittest.TestCase):
+class StatefulProcessDefinitionTests(PlacelessSetup, unittest.TestCase):
def setUp(self):
+ PlacelessSetup.setUp(self)
self.pd = pd = StatefulProcessDefinition()
self.doMinimalSetup()
@@ -133,9 +134,11 @@
def tobedone_testCreateProcessInstance(self):
pass
-class StatefulProcessDefinitionAttributesTests(unittest.TestCase):
+class StatefulProcessDefinitionAttributesTests(PlacelessSetup,
+ unittest.TestCase):
def setUp(self):
+ PlacelessSetup.setUp(self)
self.pd = pd = StatefulProcessDefinition()
self.doMinimalSetup()
More information about the Zope3-Checkins
mailing list