[CMF-checkins] CVS: CMF/CMFDefault/tests - test_Discussions.py:1.19 test_MetadataTool.py:1.9

Yvo Schubbe y.2004_ at wcm-solutions.de
Wed May 5 10:18:26 EDT 2004


Update of /cvs-repository/CMF/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv24494/CMFDefault/tests

Modified Files:
	test_Discussions.py test_MetadataTool.py 
Log Message:
- moved CMFDefault exceptions from CMFCore to CMFDefault
- moved some exceptions to the related exceptions.py
- replaced some string exceptions by zExceptions exceptions
- whitespace cleanup
- import cleanup


=== CMF/CMFDefault/tests/test_Discussions.py 1.18 => 1.19 ===
--- CMF/CMFDefault/tests/test_Discussions.py:1.18	Mon Apr 26 08:14:18 2004
+++ CMF/CMFDefault/tests/test_Discussions.py	Wed May  5 10:18:25 2004
@@ -15,8 +15,8 @@
 from Products.CMFCore.TypesTool import TypesTool
 from Products.CMFDefault.DiscussionItem import DiscussionItem
 from Products.CMFDefault.DiscussionItem import DiscussionItemContainer
-from Products.CMFDefault.DiscussionTool import DiscussionNotAllowed
 from Products.CMFDefault.DiscussionTool import DiscussionTool
+from Products.CMFDefault.exceptions import DiscussionNotAllowed
 
 
 class DiscussionItemTests(TestCase):


=== CMF/CMFDefault/tests/test_MetadataTool.py 1.8 => 1.9 ===
--- CMF/CMFDefault/tests/test_MetadataTool.py:1.8	Mon Apr 26 08:14:18 2004
+++ CMF/CMFDefault/tests/test_MetadataTool.py	Wed May  5 10:18:25 2004
@@ -7,10 +7,10 @@
 from Acquisition import aq_base
 
 from Products.CMFDefault.DublinCore import DefaultDublinCoreImpl
+from Products.CMFDefault.exceptions import MetadataError
 from Products.CMFDefault.MetadataTool import DEFAULT_ELEMENT_SPECS
 from Products.CMFDefault.MetadataTool import ElementSpec
 from Products.CMFDefault.MetadataTool import MetadataElementPolicy
-from Products.CMFDefault.MetadataTool import MetadataError
 from Products.CMFDefault.MetadataTool import MetadataTool
 
 




More information about the CMF-checkins mailing list