[CMF-checkins] CVS: CMF/CMFCore/tests - test_SkinsTool.py:1.4
Yvo Schubbe
y.2004_ at wcm-solutions.de
Thu Feb 5 07:52:02 EST 2004
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv7121/CMFCore/tests
Modified Files:
test_SkinsTool.py
Log Message:
- synced SkinsTool, SkinsContainer and their interfaces so they have the same permissions and docstrings
- replaced 'Not implemented' by NotImplementedError
=== CMF/CMFCore/tests/test_SkinsTool.py 1.3 => 1.4 ===
--- CMF/CMFCore/tests/test_SkinsTool.py:1.3 Wed Dec 24 05:46:04 2003
+++ CMF/CMFCore/tests/test_SkinsTool.py Thu Feb 5 07:52:00 2004
@@ -13,24 +13,38 @@
# for Zope versions before 2.6.0
from Interface import verify_class_implementation as verifyClass
+from Products.CMFCore.SkinsContainer import SkinsContainer
from Products.CMFCore.SkinsTool import SkinsTool
+class SkinsContainerTests(TestCase):
+
+ def test_interface(self):
+ from Products.CMFCore.interfaces.portal_skins \
+ import SkinsContainer as ISkinsContainer
+
+ verifyClass(ISkinsContainer, SkinsContainer)
+
+
class SkinsToolTests(TestCase):
def test_interface(self):
from Products.CMFCore.interfaces.portal_skins \
import portal_skins as ISkinsTool
+ from Products.CMFCore.interfaces.portal_skins \
+ import SkinsContainer as ISkinsContainer
from Products.CMFCore.interfaces.portal_actions \
import ActionProvider as IActionProvider
verifyClass(ISkinsTool, SkinsTool)
+ verifyClass(ISkinsContainer, SkinsTool)
verifyClass(IActionProvider, SkinsTool)
def test_suite():
return TestSuite((
- makeSuite( SkinsToolTests ),
+ makeSuite(SkinsContainerTests),
+ makeSuite(SkinsToolTests),
))
if __name__ == '__main__':
More information about the CMF-checkins
mailing list