[Zope-Checkins] CVS: CMF/CMFCore/tests - test_URLTool.py:1.3 test_all.py:1.21

Yvo Schubbe schubbe@web.de
Mon, 6 Jan 2003 15:41:27 -0500


Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv21357/CMFCore/tests

Modified Files:
	test_URLTool.py test_all.py 
Log Message:
Merged yuppie-collector096-branch:
- Cleaned up Interfaces and API Help. (Collector #96)
- Removed deprecated 'register' module and interface.

=== CMF/CMFCore/tests/test_URLTool.py 1.2 => 1.3 ===
--- CMF/CMFCore/tests/test_URLTool.py:1.2	Wed Dec 11 17:21:49 2002
+++ CMF/CMFCore/tests/test_URLTool.py	Mon Jan  6 15:41:20 2003
@@ -1,6 +1,11 @@
 from unittest import TestCase, TestSuite, makeSuite, main
 
 import Zope
+try:
+    from Interface.Verify import verifyClass
+except ImportError:
+    # for Zope versions before 2.6.0
+    from Interface import verify_class_implementation as verifyClass
 
 from Products.CMFCore.tests.base.dummy import DummyFolder as BaseDummyFolder
 from Products.CMFCore.tests.base.dummy import DummyContent
@@ -66,13 +71,11 @@
     def test_interface(self):
         from Products.CMFCore.interfaces.portal_url \
                 import portal_url as IURLTool
-        try:
-            from Interface.Verify import verifyClass
-        except ImportError:
-            # for Zope versions before 2.6.0
-            from Interface import verify_class_implementation as verifyClass
+        from Products.CMFCore.interfaces.portal_actions \
+                import ActionProvider as IActionProvider
 
         verifyClass(IURLTool, URLTool)
+        verifyClass(IActionProvider, URLTool)
 
 
 def test_suite():


=== CMF/CMFCore/tests/test_all.py 1.20 => 1.21 ===
--- CMF/CMFCore/tests/test_all.py:1.20	Wed Dec 11 17:20:36 2002
+++ CMF/CMFCore/tests/test_all.py	Mon Jan  6 15:41:20 2003
@@ -6,6 +6,8 @@
 
     return build_test_suite('Products.CMFCore.tests',[
         'test_ContentTypeRegistry',
+        'test_DynamicType',
+        'test_PortalContent',
         'test_PortalFolder',
         'test_TypesTool',
         'test_WorkflowTool',
@@ -21,6 +23,12 @@
         'test_FSImage',
         'test_CachingPolicyManager',
         'test_FSSecurity',
+        'test_DiscussionTool',
+        'test_MemberDataTool',
+        'test_MembershipTool',
+        'test_RegistrationTool',
+        'test_SkinsTool',
+        'test_UndoTool',
         'test_URLTool',
         ])