[CMF-checkins] CVS: Products/CMFCore/tests - test_PortalContent.py:1.7

Jens Vagelpohl jens at dataflake.org
Mon Feb 28 16:30:41 EST 2005


Update of /cvs-repository/Products/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv11430

Modified Files:
	test_PortalContent.py 
Log Message:
- use the new "snapshot" flag to addConfiguredSite to prevent snapshotting


=== Products/CMFCore/tests/test_PortalContent.py 1.6 => 1.7 ===
--- Products/CMFCore/tests/test_PortalContent.py:1.6	Mon Feb 28 15:13:26 2005
+++ Products/CMFCore/tests/test_PortalContent.py	Mon Feb 28 16:30:40 2005
@@ -33,7 +33,7 @@
         try:
             newSecurityManager(None, UnrestrictedUser('manager', '', ['Manager'], []))
             factory = self.root.manage_addProduct['CMFSetup'].addConfiguredSite
-            factory('cmf', 'default')
+            factory('cmf', 'default', snapshot=False)
             self.site = self.root.cmf
             get_transaction().commit(1) # Make sure we have _p_jars
         except:



More information about the CMF-checkins mailing list