[Zope3-checkins] CVS: Zope3/src/zope/app/content/tests - test_folder.py:1.12

Suresh Babu Eddala sbabu at zeomega.com
Thu Dec 18 11:32:05 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/content/tests
In directory cvs.zope.org:/tmp/cvs-serv5646/tests

Modified Files:
	test_folder.py 
Log Message:
queryContentType added to get ConentType for objects
for default contents interface type(IContentType) added


=== Zope3/src/zope/app/content/tests/test_folder.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/content/tests/test_folder.py:1.11	Fri Nov 21 12:12:01 2003
+++ Zope3/src/zope/app/content/tests/test_folder.py	Thu Dec 18 11:32:04 2003
@@ -12,6 +12,7 @@
 #
 ##############################################################################
 from unittest import TestCase, TestSuite, main, makeSuite
+from zope.testing.doctestunit import DocTestSuite
 from zope.component import getAdapter
 from zope.app.tests import ztapi
 from zope.app.traversing import traverse
@@ -23,7 +24,7 @@
      import BaseTestServiceManagerContainer
 from zope.app.container.tests.test_icontainer import BaseTestIContainer
 from zope.app.container.tests.test_icontainer import DefaultTestData
-
+from zope.app import content
 class Test(BaseTestIContainer, BaseTestServiceManagerContainer, TestCase):
 
     def makeTestObject(self):
@@ -51,7 +52,8 @@
     return TestSuite((
         makeSuite(Test),
         makeSuite(FolderMetaDataTest),
-        ))
+        DocTestSuite('zope.app.content'),
+        ))    
 
 if __name__=='__main__':
     main(defaultTest='test_suite')




More information about the Zope3-Checkins mailing list