[CMF-checkins] CVS: CMF/CMFCore/tests - test_URLTool.py:1.5

Yvo Schubbe cvs-admin at zope.org
Fri Nov 28 09:52:03 EST 2003


Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv17565/CMFCore/tests

Modified Files:
	test_URLTool.py 
Log Message:
some code modernization:
- death to string module
- death to apply
- import and whitespace cleanup


=== CMF/CMFCore/tests/test_URLTool.py 1.4 => 1.5 ===
--- CMF/CMFCore/tests/test_URLTool.py:1.4	Wed Jun 11 07:11:19 2003
+++ CMF/CMFCore/tests/test_URLTool.py	Fri Nov 28 09:52:02 2003
@@ -25,7 +25,7 @@
         self.site = DummySite(id='foo')
 
     def _makeOne(self, *args, **kw):
-        url_tool = apply( URLTool, args, kw )
+        url_tool = URLTool(*args, **kw)
         return url_tool.__of__( self.site )
 
     def test_portal_methods(self):




More information about the CMF-checkins mailing list