[Zope3-checkins] CVS: Zope3/src/zope/app/module/tests -
test_module.py:1.4 test_modulelookup.py:1.3
Jim Fulton
jim at zope.com
Sat Apr 17 11:13:41 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/module/tests
In directory cvs.zope.org:/tmp/cvs-serv26480/src/zope/app/module/tests
Modified Files:
test_module.py test_modulelookup.py
Log Message:
Renamed (I)RegistrationManagerContainer to (I)RegisterableContainer.
=== Zope3/src/zope/app/module/tests/test_module.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/module/tests/test_module.py:1.3 Sat Mar 13 14:33:26 2004
+++ Zope3/src/zope/app/module/tests/test_module.py Sat Apr 17 11:13:10 2004
@@ -68,7 +68,7 @@
root['Application'] = self.rootFolder
get_transaction().commit()
# The findModule() here is only for the
- # RegistrationManagerContainer, not the SiteManager.
+ # RegisterableContainer, not the SiteManager.
default = traverse(self.rootFolder, "++etc++site/default")
m = default.findModule(NAME)
=== Zope3/src/zope/app/module/tests/test_modulelookup.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/module/tests/test_modulelookup.py:1.2 Sat Mar 13 13:01:14 2004
+++ Zope3/src/zope/app/module/tests/test_modulelookup.py Sat Apr 17 11:13:10 2004
@@ -20,7 +20,7 @@
"""
from zope.testing.doctestunit import DocTestSuite
-from zope.app.registration.registration import RegistrationManagerContainer
+from zope.app.registration.registration import RegisterableContainer
from zope.app.module.interfaces import IModuleManager
from zope.interface import implements
from zope.app.container.contained import Contained, setitem
@@ -35,14 +35,14 @@
def getModule(self):
return self.module
-class MyFolder(RegistrationManagerContainer, dict, Contained):
+class MyFolder(RegisterableContainer, dict, Contained):
def __setitem__(self, name, object):
setitem(self, super(MyFolder, self).__setitem__, name, object)
def test_findMoule():
"""
- Tests for RegistrationManagerContainer.findModule().
+ Tests for RegisterableContainer.findModule().
>>> folder = MyFolder()
>>> folder['m1.py'] = MyModuleManager(1)
More information about the Zope3-Checkins
mailing list