[Zope3-checkins] CVS: Zope3/src/zope/app/security/tests - modulehookup.py:1.1.2.2 test_securitydirectives.py:1.1.2.3
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:51:48 -0500
Update of /cvs-repository/Zope3/src/zope/app/security/tests
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/security/tests
Modified Files:
Tag: NameGeddon-branch
modulehookup.py test_securitydirectives.py
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/app/security/tests/modulehookup.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/security/tests/modulehookup.py:1.1.2.1 Mon Dec 23 18:49:02 2002
+++ Zope3/src/zope/app/security/tests/modulehookup.py Tue Dec 24 07:51:17 2002
@@ -20,9 +20,11 @@
from zope.interface import Interface
-PREFIX = "Zope.App.Security.tests.TestModule."
-import zope.app.security.tests.test_module
+PREFIX = "zope.app.security.tests.module."
+import zope.app.security.tests.module
+from zope.app.security.tests import module as TestModule
TestModule.test_class = None
+
class I(Interface):
def m1():
pass
=== Zope3/src/zope/app/security/tests/test_securitydirectives.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/security/tests/test_securitydirectives.py:1.1.2.2 Mon Dec 23 17:22:41 2002
+++ Zope3/src/zope/app/security/tests/test_securitydirectives.py Tue Dec 24 07:51:17 2002
@@ -24,7 +24,7 @@
from zope.testing.cleanup import CleanUp # Base class w registry cleanup
-import Zope.App.Security
+import zope.app.security
from zope.app.security.settings import Allow, Deny
from zope.app.security.registries.principalregistry import principalRegistry
from zope.app.security.registries.permissionregistry \
@@ -47,7 +47,7 @@
class TestPrincipalDirective(CleanUp, unittest.TestCase):
def setUp(self):
- XMLConfig('meta.zcml', Zope.App.Security)()
+ XMLConfig('meta.zcml', zope.app.security)()
def testRegister(self):
f = configfile("""<principal id="1"
@@ -76,7 +76,7 @@
class TestPermissionDirective(CleanUp, unittest.TestCase):
def setUp(self):
- XMLConfig('meta.zcml', Zope.App.Security)()
+ XMLConfig('meta.zcml', zope.app.security)()
def testRegister(self):
f = configfile("""
@@ -111,7 +111,7 @@
class TestRoleDirective(CleanUp, unittest.TestCase):
def setUp(self):
- XMLConfig('meta.zcml', Zope.App.Security)()
+ XMLConfig('meta.zcml', zope.app.security)()
def testRegister(self):
f = configfile("""
@@ -148,7 +148,7 @@
class TestRolePermission(CleanUp, unittest.TestCase):
def setUp( self ):
- XMLConfig('meta.zcml', Zope.App.Security)()
+ XMLConfig('meta.zcml', zope.app.security)()
def testMap( self ):
f = configfile("""
@@ -171,7 +171,7 @@
class TestPrincipalPermission(CleanUp, unittest.TestCase):
def setUp( self ):
- XMLConfig('meta.zcml', Zope.App.Security)()
+ XMLConfig('meta.zcml', zope.app.security)()
def testMap( self ):
f = configfile("""
@@ -194,7 +194,7 @@
class TestPrincipalRole(CleanUp, unittest.TestCase):
def setUp( self ):
- XMLConfig('meta.zcml', Zope.App.Security)()
+ XMLConfig('meta.zcml', zope.app.security)()
def testMap( self ):
f = configfile("""