[Zope3-checkins] CVS: Zope3/src/zope/app/security/tests -
test_securitydirectives.py:1.10.2.1
Philipp von Weitershausen
philikon at philikon.de
Wed Aug 6 11:28:35 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/security/tests
In directory cvs.zope.org:/tmp/cvs-serv14946/security/tests
Modified Files:
Tag: zcml-interface-field-branch
test_securitydirectives.py
Log Message:
Fix up tests to use the ConfigurationMachine from zope.app.configure which
is service-aware.
=== Zope3/src/zope/app/security/tests/test_securitydirectives.py 1.10 => 1.10.2.1 ===
--- Zope3/src/zope/app/security/tests/test_securitydirectives.py:1.10 Sat Aug 2 16:05:43 2003
+++ Zope3/src/zope/app/security/tests/test_securitydirectives.py Wed Aug 6 10:28:01 2003
@@ -17,19 +17,17 @@
"""
import unittest
+from zope.testing.cleanup import CleanUp
from zope.component.service import serviceManager as services
-from zope.app.services.servicenames import Roles, Permissions, Authentication
-from zope.app.interfaces.security import IPermissionService
-from zope.app.interfaces.security import IRoleService
-from zope.app.interfaces.security import IAuthenticationService
-
+from zope.configuration import xmlconfig
from zope.configuration.xmlconfig import ZopeXMLConfigurationError
from zope.configuration.config import ConfigurationConflictError
-from zope.configuration import xmlconfig
-
-from zope.testing.cleanup import CleanUp # Base class w registry cleanup
import zope.app.security.tests
+
+from zope.app.services.servicenames import Roles, Permissions, Authentication
+from zope.app.interfaces.security import IPermissionService, IRoleService, \
+ IAuthenticationService
from zope.app.security.settings import Allow
from zope.app.security.registries.principalregistry import principalRegistry
from zope.app.security.registries.permissionregistry \
More information about the Zope3-Checkins
mailing list