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

Yvo Schubbe y.2005- at wcm-solutions.de
Sun Mar 20 16:20:17 EST 2005


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

Modified Files:
	test_Calendar.py 
Log Message:
- made profile ID a combination of profile name and product ID
- removed product name from existing profile names


=== Products/CMFCalendar/tests/test_Calendar.py 1.15 => 1.16 ===
--- Products/CMFCalendar/tests/test_Calendar.py:1.15	Mon Feb 28 16:38:03 2005
+++ Products/CMFCalendar/tests/test_Calendar.py	Sun Mar 20 16:19:46 2005
@@ -45,19 +45,10 @@
         try: app._delObject('CalendarTest')
         except AttributeError: pass
         factory = app.manage_addProduct['CMFSetup'].addConfiguredSite
-        factory('CalendarTest', 'default', snapshot=False)
+        factory('CalendarTest', 'CMFDefault:default', snapshot=False,
+                extension_ids=('CMFCalendar:default',))
         self.Site = app.CalendarTest
-
-        manage_addExternalMethod(app.CalendarTest,
-                                 id='install_events',
-                                 title="Install Events",
-                                 module="CMFCalendar.Install",
-                                 function="install")
-
-        ExMethod = app.restrictedTraverse('/CalendarTest/install_events')
-        ExMethod()
-
-        self.Tool = app.restrictedTraverse('/CalendarTest/portal_calendar')
+        self.Tool = app.CalendarTest.portal_calendar
 
         # sessioning bodge until we find out how to do this properly
 



More information about the CMF-checkins mailing list