[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Folder/tests - testFolder.py:1.1.2.2
Paul Everitt
paul@zope.com
Thu, 28 Feb 2002 15:25:10 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Folder/tests
In directory cvs.zope.org:/tmp/cvs-serv11794/tests
Modified Files:
Tag: Zope-3x-branch
testFolder.py
Log Message:
Refactored Folder to use mixin from ServiceManagerContainer and added service manager container to tests
=== Zope3/lib/python/Zope/App/OFS/Folder/tests/testFolder.py 1.1.2.1 => 1.1.2.2 ===
import unittest
+from Zope.ComponentArchitecture.tests.testServiceManagerContainer import TestServiceManagerContainer
-class Test( unittest.TestCase ):
+class Test( unittest.TestCase, TestServiceManagerContainer ):
def _makeFolder(self):
@@ -19,7 +20,8 @@
return Folder()
-
+ def _createInstance(self):
+ return self._makeFolder()
def testEmpty( self ):