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

Sidnei da Silva sidnei at awkly.org
Wed Mar 16 12:58:23 EST 2005


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

Modified Files:
      Tag: CMF-1_4-branch
	test_Calendar.py 
Log Message:

- Get rid of apply
- Behave accordingly with Zope 2.8


=== Products/CMFCalendar/tests/test_Calendar.py 1.4.22.8 => 1.4.22.9 ===
--- Products/CMFCalendar/tests/test_Calendar.py:1.4.22.8	Tue Nov 16 12:36:07 2004
+++ Products/CMFCalendar/tests/test_Calendar.py	Wed Mar 16 12:57:53 2005
@@ -59,8 +59,8 @@
         Site = self.Site
         obj = Site.restrictedTraverse(url)
         if params is None:
-            params=(obj, Site.REQUEST)
-        apply(obj,params)
+            params = (obj, Site.REQUEST)
+        obj(*params)
 
     def tearDown(self):
         noSecurityManager()



More information about the CMF-checkins mailing list