SVN: CMF/branches/2.0/CMFCore/tests/test_FSPropertiesObject.py Further global import cleanups.

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.cmf.cvs
Message-ID <[email protected]>
Log message for revision 70073:
  Further global import cleanups.

Changed:
  U   CMF/branches/2.0/CMFCore/tests/test_FSPropertiesObject.py

-=-
Modified: CMF/branches/2.0/CMFCore/tests/test_FSPropertiesObject.py
===================================================================
--- CMF/branches/2.0/CMFCore/tests/test_FSPropertiesObject.py	2006-09-08 17:20:08 UTC (rev 70072)
+++ CMF/branches/2.0/CMFCore/tests/test_FSPropertiesObject.py	2006-09-08 17:46:16 UTC (rev 70073)
@@ -1,9 +1,5 @@
 import unittest
 
-from os.path import join
-
-from OFS.Folder import Folder
-
 from Products.CMFCore.tests.base.testcase import FSDVTest
 from Products.CMFCore.tests.base.testcase import SecurityTest
 
@@ -22,10 +18,13 @@
         return FSPropertiesObject
 
     def _makeOne( self, id, filename ):
+        from os.path import join
         path = join(self.skin_path_name, filename)
         return self._getTargetClass()( id, path ) 
 
     def _makeContext( self, po_id, po_filename ):
+        from OFS.Folder import Folder
+
         self.root._setObject( 'portal_skins', Folder( 'portal_skins' ) )
         skins = self.root.portal_skins
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.