[Checkins] SVN: Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/tests/test_PluggableAuthService.py pyflakes in the PAS tests.
Maurits van Rees
cvs-admin at zope.org
Thu Jan 3 10:14:23 UTC 2013
Log message for revision 128989:
pyflakes in the PAS tests.
Changed:
U Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/tests/test_PluggableAuthService.py
-=-
Modified: Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/tests/test_PluggableAuthService.py
===================================================================
--- Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/tests/test_PluggableAuthService.py 2013-01-03 09:57:23 UTC (rev 128988)
+++ Products.PluggableAuthService/branches/maurits-login-transform/Products/PluggableAuthService/tests/test_PluggableAuthService.py 2013-01-03 10:14:23 UTC (rev 128989)
@@ -13,13 +13,12 @@
##############################################################################
import unittest
-from Acquisition import Implicit, aq_base, aq_parent
+from Acquisition import Implicit, aq_base
from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SecurityManagement import noSecurityManager
from AccessControl.SecurityManager import setSecurityPolicy
from OFS.ObjectManager import ObjectManager
-from OFS.Folder import Folder
-from zExceptions import Unauthorized, Redirect
+from zExceptions import Unauthorized
from Products.PluggableAuthService.utils import directlyProvides
from zope.interface import implements
@@ -263,10 +262,6 @@
self._dict[ key ] = value
- def has_key( self, key ):
-
- return self._dict.has_key(key)
-
def _hold(self, something):
self._held.append(something)
@@ -733,7 +728,7 @@
def test__extractUserIds_authenticate_emergency_user_with_broken_extractor( self ):
from Products.PluggableAuthService.interfaces.plugins \
- import IExtractionPlugin, IAuthenticationPlugin
+ import IExtractionPlugin
from AccessControl.User import UnrestrictedUser
More information about the checkins
mailing list