[Zope-CMF] SVN: Products.CMFCore/trunk/Products/CMFCore/tests/test_CatalogTool.py Clean out module-scope imports.

yuppie y.2009 at wcm-solutions.de
Tue Mar 10 12:03:01 EDT 2009


Tres Seaver wrote:
> Log message for revision 97800:
>   Clean out module-scope imports.
> 
> Changed:
>   U   Products.CMFCore/trunk/Products/CMFCore/tests/test_CatalogTool.py
> 
> -=-
> Modified: Products.CMFCore/trunk/Products/CMFCore/tests/test_CatalogTool.py
> ===================================================================
> --- Products.CMFCore/trunk/Products/CMFCore/tests/test_CatalogTool.py	2009-03-10 12:59:04 UTC (rev 97799)
> +++ Products.CMFCore/trunk/Products/CMFCore/tests/test_CatalogTool.py	2009-03-10 13:20:03 UTC (rev 97800)
> @@ -16,17 +16,7 @@
>  """
>  
>  import unittest
> -import Testing
>  
> -from AccessControl.SecurityManagement import getSecurityManager
> -from AccessControl.SecurityManagement import newSecurityManager
> -from DateTime import DateTime
> -from zope.interface.verify import verifyClass
> -
> -from Products.CMFCore.tests.base.dummy import DummyContent
> -from Products.CMFCore.tests.base.dummy import DummySite
> -from Products.CMFCore.tests.base.security import OmnipotentUser
> -from Products.CMFCore.tests.base.security import UserWithRoles
>  from Products.CMFCore.tests.base.testcase import SecurityTest

What was wrong with these imports?

Cheers, Yuppie



More information about the Zope-CMF mailing list