logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: Products/CMFCalendar/tests - test_Calendar.py:1.14: msg#00020

Subject: CVS: Products/CMFCalendar/tests - test_Calendar.py:1.14
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


<Prev in Thread] Current Thread [Next in Thread>