[CMF-checkins] CVS: Products/CMFTracker/tests - utils.py:1.2
Jens Vagelpohl
jens at dataflake.org
Mon Feb 28 16:34:44 EST 2005
Update of /cvs-repository/Products/CMFTracker/tests
In directory cvs.zope.org:/tmp/cvs-serv12263/CMFTracker/tests
Modified Files:
utils.py
Log Message:
- Converting from using manage_addCMFSite to the now-preferred
CMFSetup.factory.addConfiguredSite. No deprecation warnings anymore.
=== Products/CMFTracker/tests/utils.py 1.1 => 1.2 ===
--- Products/CMFTracker/tests/utils.py:1.1 Wed Jun 13 20:16:49 2001
+++ Products/CMFTracker/tests/utils.py Mon Feb 28 16:34:44 2005
@@ -7,7 +7,7 @@
from Products.CMFCore.WorkflowTool import WorkflowTool
from Products.CMFDefault.DefaultWorkflow import DefaultWorkflowDefinition
from Products.CMFDefault.MetadataTool import MetadataTool
-from Products.CMFDefault.Portal import manage_addCMFSite
+from Products.CMFSetup.factory import addConfiguredSite
class BaseTrackerTestCase( unittest.TestCase ):
"""
@@ -19,7 +19,7 @@
# Set up a scratch CMFSite
app = Zope.app()
- manage_addCMFSite( app, 'testing' )
+ addConfiguredSite(app, 'testing', 'default', snapshot=False)
self.root = app.testing
# TODO: Configure type info for Issue, Tracker
More information about the CMF-checkins
mailing list