[CMF-checkins] CVS: CMF/CMFCore/tests - test_URLTool.py:1.2.2.1 test_all.py:1.20.2.1

Yvo Schubbe schubbe@web.de
Thu, 19 Dec 2002 13:21:39 -0500


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

Modified Files:
      Tag: yuppie-collector096-branch
	test_URLTool.py test_all.py 
Log Message:
tool interface cleanup:
- added portal_properties interface
- added interface tests and made them pass

=== CMF/CMFCore/tests/test_URLTool.py 1.2 => 1.2.2.1 ===
--- CMF/CMFCore/tests/test_URLTool.py:1.2	Wed Dec 11 17:21:49 2002
+++ CMF/CMFCore/tests/test_URLTool.py	Thu Dec 19 13:20:38 2002
@@ -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.20.2.1 ===
--- CMF/CMFCore/tests/test_all.py:1.20	Wed Dec 11 17:20:36 2002
+++ CMF/CMFCore/tests/test_all.py	Thu Dec 19 13:20:38 2002
@@ -21,6 +21,9 @@
         'test_FSImage',
         'test_CachingPolicyManager',
         'test_FSSecurity',
+        'test_MemberDataTool',
+        'test_MembershipTool',
+        'test_RegistrationTool',
         'test_URLTool',
         ])