[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/tests -
workflowsetup.py:1.14 test_service.py:NONE
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Apr 15 18:11:38 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/workflow/tests
In directory cvs.zope.org:/tmp/cvs-serv8703/src/zope/app/workflow/tests
Modified Files:
workflowsetup.py
Removed Files:
test_service.py
Log Message:
Got rid of workflow service.
=== Zope3/src/zope/app/workflow/tests/workflowsetup.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/workflow/tests/workflowsetup.py:1.13 Sat Mar 13 18:55:32 2004
+++ Zope3/src/zope/app/workflow/tests/workflowsetup.py Thu Apr 15 18:11:07 2004
@@ -22,15 +22,10 @@
from zope.app.annotation.interfaces import IAttributeAnnotatable
from zope.app.security.interfaces import IAuthenticationService
from zope.app.security.principalregistry import principalRegistry
-from zope.app.servicenames import Authentication, Workflows, Utilities
+from zope.app.servicenames import Authentication, Utilities
from zope.app.site.tests.placefulsetup import PlacefulSetup
from zope.app.utility import LocalUtilityService
from zope.app.tests import setup
-from zope.app.workflow.service import WorkflowService
-
-
-class WorkflowServiceForTests(WorkflowService):
- implements(IAttributeAnnotatable)
class WorkflowSetup(PlacefulSetup):
@@ -40,15 +35,13 @@
self.sm = PlacefulSetup.setUp(self, site=True)
setup.addService(self.sm, Utilities, LocalUtilityService())
- self.service = setup.addService(self.sm, Workflows,
- WorkflowServiceForTests())
+
self.default = zapi.traverse(self.sm, "default")
self.cm = self.default.getRegistrationManager()
self.sm1 = self.makeSite('folder1')
setup.addService(self.sm1, Utilities, LocalUtilityService())
- self.service1 = setup.addService(self.sm1, Workflows,
- WorkflowServiceForTests())
+
self.default1 = zapi.traverse(self.sm1, "default")
self.cm1 = self.default1.getRegistrationManager()
=== Removed File Zope3/src/zope/app/workflow/tests/test_service.py ===
More information about the Zope3-Checkins
mailing list