[CMF-checkins] CVS: Products/CMFCalendar/tests - test_Calendar.py:1.14

Jens Vagelpohl jens at dataflake.org
Mon Feb 28 16:35:14 EST 2005


Update of /cvs-repository/Products/CMFCalendar/tests
In directory cvs.zope.org:/tmp/cvs-serv12263/CMFCalendar/tests

Modified Files:
	test_Calendar.py 
Log Message:
- Converting from using manage_addCMFSite to the now-preferred
  CMFSetup.factory.addConfiguredSite. No deprecation warnings anymore.


=== Products/CMFCalendar/tests/test_Calendar.py 1.13 => 1.14 ===
--- Products/CMFCalendar/tests/test_Calendar.py:1.13	Tue Nov 16 12:58:11 2004
+++ Products/CMFCalendar/tests/test_Calendar.py	Mon Feb 28 16:34:44 2005
@@ -44,7 +44,9 @@
 
         try: app._delObject('CalendarTest')
         except AttributeError: pass
-        app.manage_addProduct['CMFDefault'].manage_addCMFSite('CalendarTest')
+        app.manage_addProduct['CMFSetup'].addConfiguredSite( 'CalendarTest'
+                                                           , 'default'
+                                                           )
 
         self.Site = app.CalendarTest
 



More information about the CMF-checkins mailing list