[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/tests - testIContainer.py:1.1.2.2
Jim Fulton
jim@zope.com
Mon, 4 Mar 2002 12:42:05 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/tests
In directory cvs.zope.org:/tmp/cvs-serv26714/App/OFS/Container/tests
Modified Files:
Tag: Zope-3x-branch
testIContainer.py
Log Message:
Oops. The class (formerly known as Container) in
Zope.App.OFS.Container.SampleContainer isn't really useful for
production use directly, because it doesn;t follow the rules of
persistence.
Added a BTreeContainer that is suitable.
Changes ServiceManager to use it.
=== Zope3/lib/python/Zope/App/OFS/Container/tests/testIContainer.py 1.1.2.1 => 1.1.2.2 ===
class Test(BaseTestIContainer, TestCase):
def _Test__new(self):
- from Zope.App.OFS.Container.SampleContainer import Container
- return Container()
+ from Zope.App.OFS.Container.SampleContainer import SampleContainer
+ return SampleContainer()
def test_suite():
return TestSuite((